【发布时间】:2015-01-03 23:37:41
【问题描述】:
我在我的项目中使用 radeditor。 我创建了一些我在文本区域中插入的自定义标签 Bellow 是带有文本的这个标签的演示 html 代码
this is demo<var is-end="false" conditionid="439726" conditionfield="FELT001" conditionlabel="new co" title="Start of condition: new co" style="display: inline-block; width: 16px; height: 16px; margin-right: 3px; background-image: url('http://localhost/dialogportal.com/images/icons/condition-begin.gif'); background-repeat: no-repeat;" contenteditable="false"></var> text <var is-end="false" conditionid="439726" conditionfield="FELT001" conditionlabel="new co" title="Start of condition: new co" style="display: inline-block; width: 16px; height: 16px; margin-right: 3px; background-image: url('http://localhost/dialogportal.com/images/icons/condition-begin.gif'); background-repeat: no-repeat;" contenteditable="false"></var>again this will have conditions<var is-end="true" conditionid="439726" title="End of condition: new co" style="display: inline-block; width: 16px; height: 16px; margin-left: 3px; background-image: url('http://localhost/dialogportal.com/images/icons/condition-end.gif'); background-repeat: no-repeat;" contenteditable="false"></var><var is-end="true" conditionid="439726" title="End of condition: new co" style="display: inline-block; width: 16px; height: 16px; margin-left: 3px; background-image: url('http://localhost/dialogportal.com/images/icons/condition-end.gif'); background-repeat: no-repeat;" contenteditable="false"></var> which we have to test
看起来像这样
在这里我们可以同时看到两个 VAR 标签。他们在 chrome 和 safari 中出现问题。 也不使用左右箭头,我不能通过这个 var 标签,也不能使用退格和删除。
这个问题只出现在 chrome 和 safari 中,而不出现在 firefox 和 IE 中。
【问题讨论】:
标签: javascript asp.net telerik radeditor