Lines Matching defs:editor
2 * The DokuWiki editor features
4 * These are the advanced features of the editor. It does NOT contain any
11 * initialize the default editor functionality
17 var $editor = jQuery('#wiki__text');
18 if($editor.length === 0) {
22 dw_editor.initSizeCtl('#size__ctl',$editor);
24 if($editor.attr('readOnly')) {
28 $editor.keydown(dw_editor.keyHandler);
38 * @param selector editor the textarea to control
40 initSizeCtl: function(ctlarea,editor){
42 $textarea = jQuery(editor);
56 ['larger', function(){dw_editor.sizeCtl(editor,100);}],
57 ['smaller', function(){dw_editor.sizeCtl(editor,-100);}],
58 ['wrap', function(){dw_editor.toggleWrap(editor);}]
71 * @param selector editor the textarea to control
74 sizeCtl: function(editor,val){
75 var $textarea = jQuery(editor),
82 * Toggle the wrapping mode of the editor textarea and adjusts the
85 * @param selector editor the textarea to control
87 toggleWrap: function(editor){
88 var $textarea = jQuery(editor),