mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix variable highlight
This commit is contained in:
1 parent
2f0bcb4a80
commit
de1af49348
2 files changed
+2
-2
No files matched your search
@@ -150,7 +150,7 @@ export default actionable(targetable(class extends HTMLElement {
|
||||
|
||||
const buildDecorations = (doc) => {
|
||||
const decorations = []
|
||||
const regex = /\{\{?[a-zA-Z0-9_.-]+\}\}?/g
|
||||
const regex = /\{\{?[^{}\n]+\}\}?/g
|
||||
|
||||
doc.descendants((node, pos) => {
|
||||
if (!node.isText) return
|
||||
|
||||
Reference in new issue
Block a user