优化
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import {
|
||||
BoldExtension,
|
||||
CodeExtension,
|
||||
ItalicExtension,
|
||||
UnderlineExtension,
|
||||
} from 'remirror/extensions';
|
||||
|
||||
/**
|
||||
* 富文本编辑器使用的拓展
|
||||
*/
|
||||
export const extensions = () => [
|
||||
new BoldExtension(),
|
||||
new ItalicExtension(),
|
||||
new UnderlineExtension(),
|
||||
new CodeExtension(),
|
||||
];
|
||||
Reference in New Issue
Block a user