Open Hideman85 opened 7 years ago
I will take a look on this. Thanks for your feedback.
Why you didn't just parse BBCode database ? Because all extensions add new BBCode in database like CodeboxPlus : BBCode :
[Codebox={SIMPLETEXT1} file={SIMPLETEXT2}]{TEXT}[/Codebox]
And Html :
<div class="codebox" title="{L_CODEBOX_PLUS_TITLE}" data-language="{SIMPLETEXT1}" data-filename="{SIMPLETEXT2}"><p>{L_CODE}{L_COLON} <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></p><code>{TEXT}</code></div>
Like you can see :
Note :
function format_display($allow_bbcode, $allow_magic_url, $allow_smilies, $update_this_message = true) in root/includes/message_parser.php
in ajax request with selected text or inputs values ;)
I try your extension on my phpbb3.2 board and I like it, but
So I want to implement this on my board I find some things in your jquery.sceditor.bbcode.min.js like this :
But in minify mode it's hard to understand ....
Thanks in advance for your reply ;)