2022-04-04 11:22:00 +05:30
|
|
|
import { defaultMarkdownSerializer } from '~/lib/prosemirror_markdown_serializer';
|
2019-03-02 22:35:43 +05:30
|
|
|
|
2022-05-07 20:08:51 +05:30
|
|
|
export default () => ({
|
|
|
|
name: 'text',
|
|
|
|
schema: {
|
|
|
|
group: 'inline',
|
|
|
|
},
|
2019-03-02 22:35:43 +05:30
|
|
|
toMarkdown(state, node) {
|
|
|
|
defaultMarkdownSerializer.nodes.text(state, node);
|
2022-05-07 20:08:51 +05:30
|
|
|
},
|
|
|
|
});
|