Category

JavaScript

17 posts

JavaScript

JavaScript Beautifier

Everyone now and then a web developer stumble upon a JavaScript which is compressed by some utilities mainly to cut down the load time. I found it really tough, if not impossible, to read and understand such JavaScript. Fortunately, when tired of looking at one such compressed code (of a Google Chrome extension), I as…

Continue reading JavaScript Beautifier
4 comments JavaScript

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…

Continue reading Add TinyMCE Editor dynamically with different configuration