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 can I enable 'draggable' on a element with contentEditable?

I'd like to have a div that is at the same time editable and draggable, using jQuery UI. Content editability …

jquery contenteditable jquery-ui-draggable
How do I get window.getselection to work for an input type=text field

I have a contenteditable div, like so: <div id="test" contentEditable="true" style="width: 600px; height:300px;">Lorem …

javascript html contenteditable caret
workaround for contenteditable on iPad

I have a web application that uses TinyMce to allow rich text editing. Some of my customers are desperate to …

ipad tinymce contenteditable richtext rich-text-editor
building a wysiwyg editor

I need to build a wysiwyg editor for a project I am working on and need some guidance. Some of …

javascript html iframe wysiwyg contenteditable
HTML5 draggable elements within contenteditable div - stops working after first drop - why?

I am trying to create a few draggable elements (tokens) that can be dragged around inside a contenteditable div. It …

javascript jquery html draggable contenteditable
insertHTML with div and span tags in contenteditable section

In a contenteditable div, I am attempting to use insertHTML to insert a special <div> and/or <…

javascript contenteditable html inserthtml
JavaScript: get cursor position in contenteditable div

I am pretty new to JavaScript and hope someone here can help me with the following: Primarily looking for a …

javascript jquery contenteditable cursor-position getcaretpos
contenteditable not working in safari but works in chrome

I'm having a strange issue... This works in chrome as expected but in safari it only gets .. glowing but doesn't …

javascript jquery css safari contenteditable
html contentEditable document.execCommand change selected opacity

any one worked with changing opacity on contentEditable selected. I tried with following: document.execCommand('foreColor', false, 'rgba(0,0,0,0.5)'); // with …

html opacity contenteditable execcommand
contenteditable div not actually editable in webkit

I have a div with the contenteditable attribute set to to true, however, it does not show a blinking cursor …

contenteditable