Hi,
I am stuck with an tiny issue with the tinyMce, and this is very urgent. In very brief, from tinyMce callback I get an tinyMce instance. Now I want to use this instance to set text-direction from "ltr" to "rtl" on the fly. But I don't seem to find and set the required property. Following is what I'm trying to do :
$('textarea.tinymce').each(function () {
$(this).tinymce({
init_instance_callback : "setDirection"
});
});
function setDirection(inst) {
inst.directionality = "rtl";
}
Any help would be greatly appreciated.
Thanks.