Top "Contenteditable" questions

contentEditable is an HTML attribute (invented by Microsoft and standardized in HTML5) that is used for client-side in-browser "rich text" editing.

How to add class or id or CSS style in execCommand formatBlock 'p' tag?

I want to use execcommand 'formatblock' for select a line by 'p' tag or span with specific class or Id …

javascript jquery html contenteditable execcommand
What are the cons of using a contentEditable div rather than a textarea?

Would I be shooting myself in the foot by using a div with attribute contentEditable="true" as a text field …

javascript html css contenteditable
Force IE contentEditable element to create line breaks on Enter key, without breaking Undo

On Internet Explorer, a contentEditable DIV creates a new paragraph (<p></p>) each time you press …

html undo contenteditable
Get element node at caret position (in contentEditable)

Let's say I have some HTML code like this: <body contentEditable="true"> <h1>Some heading text …

javascript dom webkit contenteditable caret
How to get the image element after insert using execCommand?

Is there any way to get the image element after we insert the image using execCommand? for example e.execCommand(…

javascript html contenteditable execcommand insert-image
Firefox - designMode: disable image resizing handles

How can I prevent the user from being able to resize an image in designMode? (disable the handles when image …

image firefox resize contenteditable designmode
Any WYSIWYG rich text editor that doesn't use HTML (contenteditable or designMode), a la (the new) Google Docs?

Besides the new Google Docs, all the other WYSIWYG web-based rich text editors (ckeditor, tinymce, old Google Docs) I've seen …

html editor wysiwyg contenteditable rich-text-editor
Removing resize handlers on contentEditable div

I created a contentEditable div to use as a rich textarea. It has resize handlers around it that I'd like …

html richtextbox contenteditable designmode richtextediting
Saving and Restoring caret position for contentEditable div

I have a contentEditable div, the innerHTML of which can be updated through AJAX while editing. The problem is that …

javascript jquery contenteditable
How to edit contents in Angular js Smart Table

I am quite new to java script, so I must apologise if this seems basic. How can I edit rows …

javascript angularjs contenteditable smart-table