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

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

ដោយ 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 !!!!!!!!!

ដោយ 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 -
មធ្យមភាគនៃរង្វាយតម្លៃ: -