Skip to content

Commit

Permalink
feat: ✨ support hard_break extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Leecason committed Dec 28, 2019
1 parent dd20620 commit d3daa6a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/views/Basic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import {
TextAlign,
Indent,
LineHeight,
HardBreak,
HorizontalRule,
TrailingNode,
History,
Expand Down Expand Up @@ -59,6 +60,7 @@ export default {
new TodoItem(),
new TodoList(),
new Indent(),
new HardBreak(),
new HorizontalRule(),
new TrailingNode(),
new History(),
Expand Down
2 changes: 2 additions & 0 deletions examples/views/MenuBubble.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {
TodoList,
TextAlign,
Indent,
HardBreak,
LineHeight,
HorizontalRule,
TrailingNode,
Expand Down Expand Up @@ -59,6 +60,7 @@ export default {
new TodoItem(),
new TodoList(),
new Indent({ bubble: true }),
new HardBreak(),
new HorizontalRule(),
new TrailingNode(),
new History(),
Expand Down
1 change: 1 addition & 0 deletions src/extensions/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export { Doc, Text } from 'tiptap';

export {
HardBreak,
TrailingNode,
Placeholder,
} from 'tiptap-extensions';
Expand Down

0 comments on commit d3daa6a

Please sign in to comment.