TextAngular和Rangy类和id

时间:2016-09-26 14:58:38

标签: angularjs rangy textangular

本文

something something something
new line new line new line

textAngular生成以下html:

<p>something something something<br/>new line new line new line<br/></p> 

但是,如果我从两行中选择文本并在其上应用某些内容,则会生成以下html:

<p>something <span id="selectionBoundary_1474901783760_9132792101106602" class="rangySelectionBoundary">&#65279;</span>something something<br/>new line new line<span id="selectionBoundary_1474901783759_6091248845512363" class="rangySelectionBoundary">&#65279;</span> new line<br/></p> 

如何禁用此功能?如果它根本不应用anny样式,那很好,我只是想摆脱那些css类和id。

0 个答案:

没有答案