|
Hi experts,
Me new to CodeToad but not 2 Javascript.
I have designed a WYSIWYG editor using iframe and the execCommand and JavaScript.
I am calling an HTML file into the iframe.
Now my problem is that when I select a particular line to align left,right or center , the whole text in the iframe is aligned.
I am using simply the command execCommand('JustifyLeft');
Is there any possibility to align only the selected text or word ? I cannot figure it out.
Plz help. Any help would be gratefully appreciated.
Thanx in advance
|
|
|
|
|
|
|
|