Russia
|
Try this hack:
editor.js starting from line #1098: (replace old block with this block)- case 'free':
- if(selection) {
- return insertText((opentag + selection + closetag), strlen(opentag), strlen(closetag), true, sel);
- }
- /*vot*/ var lang = {'quote' : lng['insert_quote'], 'code' : lng['insert_code'], 'hide' : lng['hide_content'], 'free' : lng['free_content']};
- /*vot*/ str += lang[tag] + ':<br /><textarea id="' + ctrlid + '_param_1" style="width: 98%" cols="50" rows="5" class="txtarea"></textarea>' +
- /*vot*/ (tag == 'hide' ? '<br /><label><input type="radio" name="' + ctrlid + '_radio" id="' + ctrlid + '_radio_1" class="pc" checked="checked" />' + lng['when_thread_replied'] +
- /*vot*/ '</label><br /><input type="hidden" name="' + ctrlid + '_radio" id="' + ctrlid + '_radio_2" class="pc" />' +
- /*vot*/ '<input type="hidden" size="3" id="' + ctrlid + '_param_2" class="px pxs" /> ' +
- /*vot*/ '<input type="hidden" size="3" id="' + ctrlid + '_param_3" class="px pxs" />'
- /*vot*/ : '');
- break;
Copy the Code |
|