comparison src/formats/bbcode.js @ 14:0cb206904499

formats set default format
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 07 Aug 2022 14:58:42 -0600
parents b7725dab7482
children a199722647d0
comparison
equal deleted inserted replaced
13:8d32537e0ca7 14:0cb206904499
2681 2681
2682 bbcodeFormat.formatBBCodeString = formatBBCodeString; 2682 bbcodeFormat.formatBBCodeString = formatBBCodeString;
2683 2683
2684 sceditor.formats.bbcode = bbcodeFormat; 2684 sceditor.formats.bbcode = bbcodeFormat;
2685 sceditor.BBCodeParser = BBCodeParser; 2685 sceditor.BBCodeParser = BBCodeParser;
2686 sceditor.defaultOptions.format = 'bbcode';
2686 }(sceditor)); 2687 }(sceditor));