In one of my projects it’s important that hyphenation can get controlled with ­
Unfortunately WordPress removes that html entity if I enter it in the “text” view of the text editor. How could I achieve that WordPress doesn’t remove it?
In one of my projects it’s important that hyphenation can get controlled with ­
Unfortunately WordPress removes that html entity if I enter it in the “text” view of the text editor. How could I achieve that WordPress doesn’t remove it?
You must be logged in to post a comment.
shyBy default, most HTML gets removed from the copy in the TinyMCE editor. You can prevent that by adding this to the functions.php file of your active theme.
I revised my answer to change filter from catching all html to just the shy entity, based on my findings here and here. See if that works.
If not then try this:
my soft hyphens seem to be working although they are invisible in text-editor. This seems to be intended behaviour: Post Editor Automatically Deletes Soft Hyphens