I am using WYSIWYG window 4 taking input from user, so he can enter font Bold, Italic etc. How to store such data, so that when I display on some other page, same font styles and formats comes back??
Share
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.
The WYSIWYG is nothing but a Div tag with “Contenteditable” attribute, which will help capture bold, italic etc. and the content you see is rendered version of the html.
if you want to get the HTML just get the innerHTML of the contenteditable div it will give you html code. let me know if you need more help.