[nodebb-plugin-bbcodes] BBCodes Plugin (v2.0)
-
Major update to version 2.0:
Note: I've spend last two days to fix most (i hope) of bugs, but there are still can be some, especially related to conflicts with styles/themes. I'm not a designer, but i'll try to fix them as soon as you report
- Reworked parser architecture to callback mechanism
- Extended hook table, so bbcodes can now process 4 requests (get, create, edit, render) so they can define more complex behavior
- Extended parser to support custom multiargument format ([tag:name=value;name2=value2]...[/tag])
- Integrated WysiBB composer (http://www.wysibb.com/)
- Added many new bbcodes to match WysiBB existing codes
[spoiler]
integrated into the core- Old bbcode plugins are not supported
- Added
[aspoiler]
tag - Ajax Spoiler, first one wich use new exntended processing mechanism
Composer preview:
You should disable all composer plugins except bbcodes to make it work.
Ajax spoiler tag:
Spoiler content is loaded only when button is clicked. Note, that after you save the post first time, each aspoiler tag will have it's own id. Don't remove or change it manually or you will loose it's content.Syntax example:
[aspoiler]Something![/aspoiler]
- default[aspoiler:name=Spoiler Name!]Content[/aspoiler]
- named spoiler[aspoiler:name=Spoiler Name!;id=1234]Content[/aspoiler]
- this is what you will see, when you'll try to edit it.Perview GIF: http://i.imgur.com/IioJxsk.gifv
You can report issues here or on github (https://github.com/APXEOLOG/nodebb-plugin-bbcodes/issues)
As usual you can test this plugin on my forum: http://forum.apxeolog.com/topic/7/bbcode-test (guests are able to write there)
-
very cool update
some things i got after a few tests on safari- enabling some styles like bold and italic and disable them will make to show them as enable afterwards eventually, a bit messy
- i got locked and didn't allow me for new text line some times
-
@exodo said:
very cool update
some things i got after a few tests on safari- enabling some styles like bold and italic and disable them will make to show them as enable afterwards eventually, a bit messy
- i got locked and didn't allow me for new text line some times
Can you give me some steps to reproduce #2?
-
@APXEOLOG said:
@exodo said:
very cool update
some things i got after a few tests on safari- enabling some styles like bold and italic and disable them will make to show them as enable afterwards eventually, a bit messy
- i got locked and didn't allow me for new text line some times
Can you give me some steps to reproduce #2?
tested it again
write some words > press return > it will create new empty line but you will stay on first
you can go down with down arrow but is strange behavior -
@exodo said:
tested it again
write some words > press return > it will create new empty line but you will stay on first
you can go down with down arrow but is strange behaviorLol, i've spend a lot of time to track this, since it is OK on my local dev forum. Just turned sanitization on and everything become ok.
-
With the inbuilt composer it's possible to upload a file and then reference it in markdown.
I see that's not possible in BBCodes Plugin.
One other problem I have encountered is that when I installed the latest version I did not get a BBCode button bar at the top of composer and was unable to submit posts.
Edit: I have now been able to fix that problem and have recreated the steps that causes it.
If you install the BBCodes plugin and deactivate the composer and markdown plugins there is no issue. If you uninstall the composer and markdown plugins then the BBCode plugin seems to have issues. Perhaps it's localised to my installation but maybe others have the issue. -
Looks like this plugin's development is pretty much dead...
@APXEOLOG, would it be possible to make it usable again?Right now I'm in the middle of building a fairly big community system, and my users would largely appreciate being able to use BBCodes... I think it's the same for many other people out there.
To be honest, I also think that NodeBB's success is partially dependent on this, as many users refuse to ease into it because of the lack of the tools they've used to know and love, such as the BBCodes themselves
-
@James-Game @APXEOLOG is there any installation of nodebb currently using this plugin? I'd like to see it working
-
@felipeolcav You can try it on our forum mtgm.ru