I created a new rule copied from existing rule for replacement:
function(plugin){ var n = plugin.replaceMonomer(org.helm.webeditor.HELM.BASE, 'P','sP');return n>0; }
You can see it on the screenshot:
after being saved, you can see the following code with additional quote around the monomer codes:
When trying the apply that rule, these new quote symbol cause an error message:
this issue does not exist with the other replacement script using single quote. I also tried editing the code but the new quote symbol are still added.
I created a new rule copied from existing rule for replacement:
function(plugin){ var n = plugin.replaceMonomer(org.helm.webeditor.HELM.BASE, 'P','sP');return n>0; }
You can see it on the screenshot:after being saved, you can see the following code with additional quote around the monomer codes:
When trying the apply that rule, these new quote symbol cause an error message:
this issue does not exist with the other replacement script using single quote. I also tried editing the code but the new quote symbol are still added.