A client of mine complains that text gets 'randomly highlighted' when he is writing Wordpress posts on his iPad Pro. He uses the web interface. I got him to stop deleting the 'highlighted' text and let me see it, and found out that it was caused by text he had written being enclosed in <code> tags.
How has he managed to accidentally type <code> tags, do you think? He is not a technical user and is certainly not doing it on purpose. Additionally he must be using the 'visual' rather than the 'text' editing mode, otherwise he would see the <code> tag instead of the 'highlighting'. And adding a <code> tag isn't even an option in that editing mode, that I can see. Is there some clever shortcut for this that he is accidentally typing?
Failing this (and I really don't want to fail, ideally!!) is there some simple method I can teach him to clear all these tags?
A client of mine complains that text gets 'randomly highlighted' when he is writing Wordpress posts on his iPad Pro. He uses the web interface. I got him to stop deleting the 'highlighted' text and let me see it, and found out that it was caused by text he had written being enclosed in <code> tags.
How has he managed to accidentally type <code> tags, do you think? He is not a technical user and is certainly not doing it on purpose. Additionally he must be using the 'visual' rather than the 'text' editing mode, otherwise he would see the <code> tag instead of the 'highlighting'. And adding a <code> tag isn't even an option in that editing mode, that I can see. Is there some clever shortcut for this that he is accidentally typing?
Failing this (and I really don't want to fail, ideally!!) is there some simple method I can teach him to clear all these tags?
Share Improve this question asked Nov 12, 2018 at 8:53 retrocoolretrocool 111 bronze badge1 Answer
Reset to default 0Sounds like a copy and paste issue.
Anyway, there is information on how to clean by allowing just certain tags in your written content in tinymce editor. https://jonathannicol/blog/2015/02/19/clean-pasted-text-in-wordpress/
So if you go to disallow the code
tag with this technique. You should be fine enough..