Lines Matching refs:tag
12 var tagregexp = (/\{\{tag>.*?\}\}/g);
77 …</code> is selected, the old tag syntax must be selected and it will be replaced. If there are no …
110 var codeB = "{{tag>";
122 selected = "{{tag>" + selected + "}}";
127 editor.setData(selected+data.replace(/\{\{tag>.*?\}\}/g,''));
130 editor.setData(data.replace(/\{\{tag>.*?\}\}/g,'')+selected);
138 var on_page; //tags found in page tag markup
145 var tagregexp = (/\{\{tag>(.*?)\}\}/g);
155 var tag = labelText.match(/^[\w\-\d]+$/);
156 if(tag && !on_page.includes(labelText)) {
159 else if(tag && on_page.includes(labelText) && !jQuery(this).prop('checked')){