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

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

by test test -
အကြောင်းပြန်မှု အရေအတွက်: 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...) ?

ပျှမ်းမျှအဆင့်သတ်မှတ်ချက်များ: -
test test ထံသို့ အကြောင်းပြန်ရာတွင်

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

by 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 -