Today when working on a JavaScript function to get all the DOM nodes which are under selection, I was going through the compatibility tables at quirksmode.org and scratching my head and wondering why the W3C guys have made this basic job all that difficult. I must admit that playing with range is complex (specially how […]
Search Results for:
Disable Text Selection in HTML Page
I was working today on a UI fix to disable the text selection in the Dynamic Language Tools preference window during the drag & drop operation. After looking at the few samples on the web, I found that similar to many other compatibility issues, this is supported differently in IE and FireFox. Here is one […]
Add TinyMCE Editor dynamically with different configuration
TinyMCE Editor allows you to have multiple layout configurations (different type of buttons and toolbars) per theme. These custom layout configurations are automatically applied to the text boxes by the depending on the ‘editor_selector’ class of each text boxes. All works beautifully until you try to add a text control with the correct CSS class dynamically using JavaScript […]