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

problem with bbcodes inside tinymce editor #3781

Open
Jimmi08 opened this issue Apr 10, 2019 · 1 comment
Open

problem with bbcodes inside tinymce editor #3781

Jimmi08 opened this issue Apr 10, 2019 · 1 comment
Labels
status: testing required Someone needs to confirm this issue's existence and write a test to prevent the fix from regressing.

Comments

@Jimmi08
Copy link
Contributor

Jimmi08 commented Apr 10, 2019

tested with news
I needed manually to insert
code [img]link to image[/img]
via e107 bbcodes inside tinymce.

In admin editor image was displayed correctly, but on the frontend bbcode was displayed

Could you check this:

  • at first you are parssing bbcodes
    $full_text = $this->parseBBCodes($full_text, $postID); // parse any embedded bbcodes eg. [img]

  • then replaced tinymce tag for bbcodes back to bbcodes
    $full_text = $this->parseBBTags($full_text); // strip <bbcode> tags.

but because there is no parseBBCodes after this, bbcodes left in text

Thanks

@Moc Moc added the status: testing required Someone needs to confirm this issue's existence and write a test to prevent the fix from regressing. label Apr 11, 2019
@Jimmi08
Copy link
Contributor Author

Jimmi08 commented May 7, 2019

#3793

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: testing required Someone needs to confirm this issue's existence and write a test to prevent the fix from regressing.
Projects
None yet
Development

No branches or pull requests

2 participants