I am using tinyMCE editor in my asp.net application, What I want to if some has change the text color to red or green etc., then automatically text color change to the default color (Black).
What should I do for that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are two ways to get what you want:
1. Fiddle with the style plugin code to set the text color
2. The more promising way: after tinymce init you could bind a handler to the UI-Style-Elements in order to decide when to set the text color to black