ckeditor - ckeditor 删除内联样式和 iframe
问题描述
这是我的配置:但编辑器仍然删除了内联样式和 iframe 标签。
config.allowedContent = true;
config.extraAllowedContent = 'iframe(*)[*]{*};style(*)[*]{*};img(*)[*]{*};span(*)[*]{*};p(*)[*]{*};div(*)[*]{*};li(*)[*]{*};ul(*)[*]{*}';
解决方案
推荐阅读
- qt - QUrl 从 c:/path/to/file 中删除冒号
- javascript - 如何将对象数组映射到键值?
- android - Drawing without creating a continuous line in Android Studio
- reactjs - My React function not working in production
- excel - Excel VBA how to keep a variable cell in a R1C1 formula
- ubuntu - Networking not working after creating VM from snapshot - GCE
- excel - Bringing data from sql server - existing data not brought
- javascript - styled components breaks in production only
- batch-file - How to capture user URL input and search on google in Batch?
- sql - 不能根据时间戳在 DATE 上分组