|
|
@ -206,8 +206,10 @@ class CurlyBrackets extends HTMLTemplateElement {
|
|
|
|
node.setAttribute("ondblclick","{ondblclick}");
|
|
|
|
node.setAttribute("ondblclick","{ondblclick}");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(node.textContent.trim() != "" && node.textContent.indexOf(curlyBracketsOpen) == -1){
|
|
|
|
if(node.childElementCount == 0){
|
|
|
|
node.textContent = "{"+node.textContent.trim()+"}";
|
|
|
|
if(node.textContent.trim() != "" && node.textContent.indexOf(curlyBracketsOpen) == -1){
|
|
|
|
|
|
|
|
node.textContent = "{"+node.textContent.trim()+"}";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|