Skip to content Skip to sidebar Skip to footer
Showing posts with the label Contenteditable

Javascript / Jquery: How To Get Selected Text In Firefox

How can I get the selected text (in a contenteditable div) in Firefox ? It would be enough for rece… Read more Javascript / Jquery: How To Get Selected Text In Firefox

How Do I Figure Out Why The Contenteditable Attribute Doesn't Work?

I seem to be having an issue with some of my css/javascript. I can't seem to be able to get con… Read more How Do I Figure Out Why The Contenteditable Attribute Doesn't Work?

How To Switch To Raw Html In Contenteditable For In Place Editing?

I'm writing a user script to edit the whole html page: one of the features I will include would… Read more How To Switch To Raw Html In Contenteditable For In Place Editing?

Javascript Contenteditable - Wrap Cross-tag Selections

I'm experimenting a bit with contentEditable and encountered this issue: I have the following j… Read more Javascript Contenteditable - Wrap Cross-tag Selections

Focusing On Nested Contenteditable Element

So, I have two contenteditable divs nested inside of another: This Solution 1: The way [contentedi… Read more Focusing On Nested Contenteditable Element

Get Contenteditable Caret Position

I'm finding tons of good, cross-browser answers on how to set the caret position in a contentEd… Read more Get Contenteditable Caret Position

Contenteditable On Ios: Control/prevent Selection Toolbar?

I've got my own toolbar for contenteditable. On ipad the system generates its own pop-up toolba… Read more Contenteditable On Ios: Control/prevent Selection Toolbar?

How Can I Take Elements Out Of The Dom, After Pasting Or Dropping Something?

I am using jQuery's remove() function to delete everything that is pasted/dropped in a contente… Read more How Can I Take Elements Out Of The Dom, After Pasting Or Dropping Something?

Jquery Ui Sortable & Contenteditable=true Not Working Together

I am creating a list & want to make its item sortable and editable. So i am doing it like this:… Read more Jquery Ui Sortable & Contenteditable=true Not Working Together

Javascript - Change Font Color Of Certain Text In Textarea

Is there any JS function that can change the color of certain text in a textarea? For example, blar… Read more Javascript - Change Font Color Of Certain Text In Textarea

Problem Detecting Newlines In Javascript Range Object

I have some javascript that manipulates html based on what the user has selected. For real browsers… Read more Problem Detecting Newlines In Javascript Range Object

How To Prevent Accidental Deletion Of Contenteditable Ul In Ie10?

I want to have a contenteditable ul on a page. However, in Internet Explorer 10, if you click into … Read more How To Prevent Accidental Deletion Of Contenteditable Ul In Ie10?

Changes To Selection And Range Functionality In Ie8

I'm having to debug a WYSIWYG javascript based HTML editor that is failing in IE8. It's onl… Read more Changes To Selection And Range Functionality In Ie8

Pasting Into Contentedittable Results In Random Tag Insertion

I am using a contentedittable field as user input so that I can exploit text formatting. Unfortunat… Read more Pasting Into Contentedittable Results In Random Tag Insertion

How To Avoid Removing Typed Text From Contenteditable

In Jquery

I'm using jQuery UI draggable component to add to content editable . The expected output was, … Read more How To Avoid Removing Typed Text From Contenteditable

In Jquery

Contenteditable=false In Contenteditable=true

Problem: I have observed an undesirable behaviour in Chrome and Opera that occurs when one joins tw… Read more Contenteditable=false In Contenteditable=true