We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 75f3f08 + 63b0e24 commit 5cefe6cCopy full SHA for 5cefe6c
1 file changed
components/Plate/plugins/tag.jsx
@@ -4,6 +4,7 @@ import { createPluginFactory } from "@udecode/plate";
4
import { ELEMENT_TAG } from "../../../utils/slate";
5
6
// inspired by https://stackoverflow.com/a/60972027
7
+// the (.*) at the end allows us to detect situations where the tag needs to be split
8
const tagRegex = /#([\w\-]{1,100})(.*)/
9
10
function hasTagParent(editor, path) {
0 commit comments