Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] DVZ Code Tags 1.0.3
#31
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)
Reply
#32
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
Reply
#33
(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..
Reply
#34
Bump for help ^
Reply
#35
^ I would also like to bump this for help
Reply
#36
the code is not showing the same color within the box like chrome is I guess Firefox updated something ...
๐Ÿฆย  ๐ŸŽ€ย  ๐ผ ๐ฟโค๐’ฑ๐ธ ๐‘€๐’ด๐ต๐ตย  ๐ŸŽ€ย  ๐Ÿฆ
Reply
#37
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
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) โ–ช keybase.io/devilshakerz
Reply
#38
Is it possible to make the code show on WYSIWYG?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)