TinyMCE:如何禁用代码重写? [英] TinyMCE: How to disable code rewriting?

查看:118
本文介绍了TinyMCE:如何禁用代码重写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图防止TinyMCE(在Joomla中)重写代码(添加,删除,移动标签和属性等).我不想设置每个标签,只需阻止TinyMCE更改我的代码即可.

I'm trying to prevent TinyMCE (in Joomla) from rewriting code (adding, removing, moving tags and attributes, etc). I don't want to setup every tag, just simply stop TinyMCE from changing my code.

TinyMCE配置:

The TinyMCE configuration:

verify_html:false;

不适用于我,切换至源代码视图或单击显示/隐藏"仍会使编辑器修改我的源代码.

doesn't work for me and toggling to the source code view or clicking show/hide still causes the editor to modify my source code.

推荐答案

在Joomla中进入tinyMCE插件的配置,并禁用代码清除.

Go into the configuration of the tinyMCE plugin in Joomla and disable the code cleanup.

这篇关于TinyMCE:如何禁用代码重写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆