javascript - Add WYSIWYG to already existing textareas without losing PHP functionality -


I have some existing forms with text fields for editing. I first retrieve the information from the database, Users can edit them and then update them in the database.

The problem is that I have some text from MS Word in the database and I see word formatting in the textware. I tried to use the TinyMCE editor, but it replaces the existing textures with custom code - I lose classname and other things described in my code and do not do anything else.

Is there any less WYSIWYG editor that I can apply already in my website without losing the existing functionality?

Or are there any ways to change word formatting without using any plug-ins?

This is my example form:

   

The text to be edited is inserted into textures by using PHP in the name of TextRe into PHP. While using TinyMCE, Textera no longer exists and hence no text is inserted in it.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -