视觉编写器导致与TinyMCE冲突

时间:2015-07-23 作者:viriato

My Tinymce is not showing up by default.

All out of the sudden, without any new plugin installation or what so ever, VC plugin started to force my text editor (when creating a new entry) to switch from TinyMCE to HTML. I have tested:

* Switch themes with Visual Composer plugin activated – the problem remains. I have the Visual Composer plugin installed in wordpress, but I have no purchase code since it came with my theme. Therefore I cannot ask for help at the VC page. 
* Deactivate the VC plugin – The problem disappears
* Add the add_filter function on my functions.php – website gets broken
* When I open my browser console and type `getUserSetting(\'editor\')`, I recieve the answer “html”. If I type in s`etUserSetting(\'editor\', \'tinymce\')`, I get the answer “editor”. The I type `getUserSetting(\'editor\')` to see if anything has changed and I get the answer “tinymce”. But then when I refresh, the bug is still back on.

I have read this but I don\'t know where to apply the provided solution and since I have a very recent account here I can\'t comment and ask. Perhaps that will solve my issue, but where do I apply the provided solution?

I have also read about this possible solution which sounds very plausible since this issue did not come from any new plugin install or other change in the system, but How do I do it? How do I delete a cookie from the database in this case?

Any other way how can I solve this? I would be really appreciated for any help or guidance since I am stuck for days in this issue...

1 个回复
SO网友:viriato

嗯,我找到了解决办法。显然,这个bug是在我进行系统更新后出现的。我之所以没有将这个bug与插件更新联系起来,是因为我在更新后的几天没有编写任何新条目。

在我停用ACF后,问题消失了。显然,如果升级到ACF pro,问题也会消失。

你可以读到它here.

结束

相关推荐

WordPress tinymce打印空的P标记并中断html格式

我提出这个问题是因为我没有找到最新的答案,而且这个问题对我来说仍然存在。我正在运行wordpress 4.2.2x theme 当我通过WP默认编辑器(tinymce)编辑内容时。我对HTML格式有很多问题。例如,如果我在前端以视觉/文本模式编辑内容,我会变空<p></p> 有时我会注意到,如果我添加这样的内容:<ul> <li><a href=\"#\">Content1</a></li> &