-
Notifications
You must be signed in to change notification settings - Fork 14
[youtube] block or inline? #3
Copy link
Copy link
Open
Description
I had a situation where a user had entered into SCEditor a youtube video inside some other formatting tags ([b],[i]) and the rendering to HTML was throwing an exception. Digging around I found out that in classes/Node/Container/Document.php the [youtube] tag is defined as block. I changed the constructor's third parameter to BBCode::INLINE_TAG and it solved my immediate problem.
Does youtube really need to be block-level? I'm asking because if this is the case, then the WYSIWYG part of SCEditor should also make sure to produce correct bbcode that can be parsed by SBBCodeParser.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels