mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
fix highlight
This commit is contained in:
1 parent
cbffb1e5b8
commit
246ccfb049
1 file changed
+1
-1
@@ -153,7 +153,7 @@ export default actionable(targetable(class extends HTMLElement {
|
||||
|
||||
const buildDecorations = (doc) => {
|
||||
const decorations = []
|
||||
const regex = /\{[a-zA-Z0-9_.-]+\}/g
|
||||
const regex = /\{\{?[a-zA-Z0-9_.-]+\}\}?/g
|
||||
|
||||
doc.descendants((node, pos) => {
|
||||
if (!node.isText) return
|
||||
|
||||
Reference in new issue
Block a user