Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with specific text and bbcode plugin #2782

Open
blackcoder87 opened this issue Jan 26, 2019 · 4 comments
Open

Bug with specific text and bbcode plugin #2782

blackcoder87 opened this issue Jan 26, 2019 · 4 comments
Labels
plugin:bbcode The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:bug A bug.

Comments

@blackcoder87
Copy link

Type of report

Bug

Provide detailed reproduction steps (if any)

  1. Open https://ckeditor.com/docs/ckeditor4/latest/examples/bbcode.html
  2. Remove all text
  3. Enter [[][/url]
  4. Switch to Source View
  5. Return to normal view

Expected result

It should show the previously entered text "[[][/url]".

Actual result

Empty text field and all controls are disabled. Editor "broken".

Other details

Uncaught TypeError: Cannot read property 'type' of null
    at CKEDITOR.BBCodeParser.e.onTagClose (plugin.js?t=J0EE:12)
    at CKEDITOR.BBCodeParser.parse (plugin.js?t=J0EE:9)
    at Function.CKEDITOR.htmlParser.fragment.fromBBCode (plugin.js?t=J0EE:13)
    at a.b (plugin.js?t=J0EE:17)
    at a.e (ckeditor.js:10)
    at a.<anonymous> (ckeditor.js:11)
    at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire (ckeditor.js:13)
    at a.setData (ckeditor.js:271)
    at d (ckeditor.js:1215)
    at Object.wysiwyg (ckeditor.js:1217)
@jacekbogdanski jacekbogdanski added status:confirmed An issue confirmed by the development team. type:bug A bug. plugin:bbcode The plugin which probably causes the issue. labels Jan 28, 2019
@engineering-this engineering-this self-assigned this Feb 19, 2019
@blackcoder87
Copy link
Author

I noticed there is no progress any more since a few months. :(
I would still appreciate this being fixed.

@toshniba
Copy link

I have the same, or at least a similar problem when using double-brackets (eg for use with placeholder plugin) inside bbcode (in my case url).
Eg [url]https://[[var1]]/fooboo[/url] is not valid to bbcode plugin and gets corrupted.

@EMiT57
Copy link

EMiT57 commented Apr 20, 2021

This text generate the same:
(b]*[/b]

@xillibit
Copy link

xillibit commented May 25, 2021

This is a very annoying issue and make inusable ckeditor when there are incorrect bbcode in it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin:bbcode The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:bug A bug.
Projects
None yet
Development

No branches or pull requests

6 participants