feat(writekit): rename @robonen/editor to @robonen/writekit
Rename the rich-text editor package and all Editor* exports to Writekit*; remove the old vue/editor tree.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { defineBlock } from '../registry';
|
||||
import DividerBlock from './DividerBlock.vue';
|
||||
|
||||
export const divider = defineBlock({
|
||||
type: 'divider',
|
||||
spec: {
|
||||
content: { kind: 'atom' },
|
||||
group: 'block',
|
||||
toDOM: () => ['hr'],
|
||||
parseDOM: [{ tag: 'hr' }],
|
||||
},
|
||||
component: DividerBlock,
|
||||
meta: { title: 'Divider', icon: 'minus', keywords: ['divider', 'hr', 'rule', 'separator'], group: 'media' },
|
||||
});
|
||||
Reference in New Issue
Block a user