Preserve indentation, HTML5 shorthand in editor

Sounds like you are using the wrong software 😉 wordpress is not really designed nor should it be used as an html editor. If for whatever reason you need some concrete HTML format you should either use a shortcode to generate it or create a page template to be used in the places where it … Read more

Changing code with ( ) when author updates their post (TinyMCE)

Technically, this is an issue with TinyMCE, not with WordPress, but WP does provide a gateway to TinyMCE, which allows you to change settings. Your solution might look something like this: add_filter (‘tiny_mce_before_init’, ‘wpse303889_tiny_filter’); function wpse303889_tiny_filter ($in) { $in[‘entity_encoding’] = ‘raw’; return $in; } Setting the entity_encoding filter to ‘raw’ supposedly allows you to get … Read more

Client on iPad accidentally adding tag to posts while writing

Sounds 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.com/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..

Load WordPress Editor .css on Front End

Fixed it! Although I still don’t know why I have to now enqueue the specific stylesheet when I didn’t before. If anyone knows why I’d definitely appreciate it. But for now, my answer: I had previously added in this code which was a bad idea. For some reason I didn’t those specific icons were being … Read more