This is very very urgent !!!!!!!!!

This is very very urgent !!!!!!!!!

gan test test -
Number of replies: 1

Where can I find in the Moodle Application the code for selected text in the editor ?

To be precise and concise, I have selected a particular text in the editor. I want that portion to be bold and italicized. Where can I view the code for the selected text ( i.e. This portion is selected and this portion has to be bold, italicized etc...) ?

Cyfartaledd sgoriau: -
In reply to test test

Re: This is very very urgent !!!!!!!!!

gan Janne Mikkonen -
Well hello there Test...

Actually you cannot find code for it anywhere since it's built in functionality in browser's implementation of execCommand (search google contenteditable +execCommand).

in /lib/editor/htmlarea.php you can find prototype called HTMLArea.execCommand which does all function calls for toolbars action.

- Janne -