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,13 @@
|
||||
import { defineMark } from '../registry';
|
||||
|
||||
export const code = defineMark({
|
||||
type: 'code',
|
||||
spec: {
|
||||
inclusive: false,
|
||||
rank: 9,
|
||||
excludes: '_all', // inline code wins: it strips every other mark on the range
|
||||
toDOM: () => ['code', 0],
|
||||
parseDOM: [{ tag: 'code' }],
|
||||
},
|
||||
meta: { title: 'Inline code', icon: 'code', hotkey: 'Mod-e' },
|
||||
});
|
||||
Reference in New Issue
Block a user