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

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

Bởi test test -
Số lượng các câu trả lời: 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...) ?

Trung bình điểm đánh giá: -
Để phản hồi tới test test

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

Bởi 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 -