MyBB Community Forums

Full Version: DVZ Code Tags 1.0.3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Receiving a problem. When a user inserts his language with code and previews thread, the code language will remove and it will be just [code] forcing them to re-edit their thread to add the proper language, and then posting the thread. This can also cause users to not notice this and post without notice

Also, what should I be adjusting in the CSS for the responsive side of the codeblock? I attempted max-width: 100% and width: 100% in a few elements, but was not successful (codeblock is normally fine before adding this plugin responsively)
Its not fault of the plugin. MyBB has no parameter support in [code] bbcode, but this plugin extends that feature.
https://github.com/mybb/mybb/blob/featur...or.js#L338

For what you are looking the MyBB-SCE bridge file is required to be edited to carry the parameter supplied with [code]. Just like what is done for [size].
https://github.com/mybb/mybb/blob/featur...or.js#L139
(2019-09-11, 01:05 PM)effone Wrote: [ -> ]Its not fault of the plugin. MyBB has no parameter support in [code] bbcode, but this plugin extends that feature.
https://github.com/mybb/mybb/blob/featur...or.js#L338

For what you are looking the MyBB-SCE bridge file is required to be edited to carry the parameter supplied with [code]. Just like what is done for [size].
https://github.com/mybb/mybb/blob/featur...or.js#L139

A little confused... so what should I be doing?

Sorry, Never have done this lol..
Bump for help ^
^ I would also like to bump this for help
the code is not showing the same color within the box like chrome is I guess Firefox updated something ...
Version 1.0.3:
  • Added deferred PrismJS highlighting for heavy code blocks (click to activate)
  • Improved tag type precedence when nested
  • PrismJS updated to 1.20.0

https://community.mybb.com/mods.php?acti...7&bid=4397
Is it possible to make the code show on WYSIWYG?
Pages: 1 2 3 4