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 […]