-
I want to create this effect from github with
|
Beta Was this translation helpful? Give feedback.
Answered by
zbeyens
Aug 17, 2021
Replies: 1 comment 3 replies
-
Try out this rule (v2) {
mode: 'block',
match: '> ',
preFormat,
format: (editor) =>
wrapNodes(editor, { type: ELEMENT_BLOCKQUOTE, children: [] }),
allowSameTypeAbove: true,
} Note however this adds some complexity you'll need to handle, e.g. unwrapping nodes, normalizing |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
zbeyens
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try out this rule (v2)
Note however this adds some complexity you'll need to handle, e.g. unwrapping nodes, normalizing