BBCode option
Submitted Älex, Aug 10 2012 05:17 AM | Last updated Mar 03 2013 07:04 PM
1 - Create bbcode with option & content as: [test={option}]{content}[/test]
2 - Use this bbcode once: options & content displayed
3 - In the same message use again this boccde: options & content aren't displayed
Tested with some bbcode and i've the same "error"
Problem since 3.3.4 version
Video link: http://www.screencast.com/t/7CMsuOAu9
2 - Use this bbcode once: options & content displayed
3 - In the same message use again this boccde: options & content aren't displayed
Tested with some bbcode and i've the same "error"
Problem since 3.3.4 version
Video link: http://www.screencast.com/t/7CMsuOAu9
| Status: | Duplicate |
| Version: | 3.3.4 |
| Fixed In: | 3.4.0 |











6 Comments
Looks like we need to clear the option and content values from the form after submission.
/public/js/3rd_party/ckeditor/plugins/ipsbbcode/dialogs/ipsbbcode.js
var resetIt = function() { var dialog = editor.config._dialog; /* When you're hacky and you know it */ var option = dialog.getContentElement( 'info', 'option' ).getElement(); var content = dialog.getContentElement( 'info', 'content' ).getElement(); var select = dialog.getContentElement( 'info', 'bbcodeTag' ).getElement(); option.hide(); content.hide(); $('bbcode-description').hide(); };-
Updating Status to: Duplicate
I've already fixed this for 3.4.0.
I just upgraded to 3.4.2, and the problem I have is the option isn't being replaced with content, even though I selected "Option is optional"....