Jump to the post that solved this thread.
Solved: 1 Year, 7 Months, 1 Week ago I added table options in my codebuttons toolbar , not working
#2
Solved: 1 Year, 7 Months, 1 Week ago
In /jscripts/bbcodes_sceditor.js search for:
// Remove last bits of table, superscript/subscript, youtube and ltr/rtl support
$.sceditor.command
    .remove('table').remove('subscript').remove('superscript').remove('youtube').remove('ltr').remove('rtl');
 
$.sceditor.formats.bbcode
    .remove('table').remove('tr').remove('th').remove('td').remove('sub').remove('sup').remove('youtube').remove('ltr').remove('rtl');

and replace with:
// Remove last bits of table, superscript/subscript, youtube and ltr/rtl support
$.sceditor.command
    .remove('subscript').remove('superscript').remove('youtube').remove('ltr').remove('rtl');
 
$.sceditor.formats.bbcode
    .remove('sub').remove('sup').remove('youtube').remove('ltr').remove('rtl');

Now you must create mycodes in ACP for table, table-head, table-row and table-data.
That's all. Wink
Reply
Jump to the post that solved this thread.


Messages In This Thread
RE: I added table options in my codebuttons toolbar , not working - by Schnapsnase - 2023-06-21, 07:01 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)