Steps to reproduce:
-Create a new blog post
-Type a paragraph that has inline code that you wish to color code
-Switch the writting mode in wordpress to 'Text' as to edit the HTML markup for the post.
-Add <code inline="true"> and </code> around the code to be colored.
-Toggle to 'Visual' editor and back.
-inline attribute will now be missing.
This is caused by the visual editor validating the HTML, naturally 'inline' is not a valid attribute. A fix is to add inline as a valid attribute. Source. Is it possible during plugin install to add all attributes CC uses as to avoid having them stripped? Possible solution
Steps to reproduce: -Create a new blog post -Type a paragraph that has inline code that you wish to color code -Switch the writting mode in wordpress to 'Text' as to edit the HTML markup for the post. -Add <code inline="true"> and </code> around the code to be colored. -Toggle to 'Visual' editor and back. -inline attribute will now be missing.
This is caused by the visual editor validating the HTML, naturally 'inline' is not a valid attribute. A fix is to add inline as a valid attribute. Source. Is it possible during plugin install to add all attributes CC uses as to avoid having them stripped? Possible solution