[英]How to render dynamically generated inline SVG by using custom directive in angular 6
[英]CKEditor render angular custom directive
我的页面上有一个使用CKEditor的HTML编辑器。 现在我们决定使用AngularJS创建一些自定义指令,但是CKEditor用其他HTML标记替换了“未知”标记。
例:
<custom-table
dataset="Person"
headers = "['Name', 'Email']"
fields = "['name', 'email']">
</custom-table>
替换为:
<p> </p>
我不想呈现该自定义标签。 我只想让CKEditor允许“未知”标签而不更改它。 那可能吗?
如果您在此处参考CK编辑器的文档: http : //docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-extraAllowedContent
它提到了extraContentAllowed
选项,可让您指定哪些HTML元素有效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.