Hi, I am new here. Well, I made a rich text editor using IFrame and document.execcomand. All is ok, except I want to add something like displaying the HTML code of the text written in the IFrame to a div or a textarea.
For example, if someone has typed "Hello", and select it and click Bold, it will become bold. But the IFrame does not show: <strong>Hello</strong>, thus, I want to display the HTML as well in a textarea. How to do this?