XF 2.1 Custom attributes disappearing when switching between Froala and text editor

Arty

Well-known member
I've added custom attribute "border" to "attach" bbcode.

Problem is, it disappears when clicking "Toggle BBCode" button.

How to keep custom attributes? I tried extending XF/BBCode/Renderer/EditorHtml class, but renderTagAttach() doesn't seem to be called. What renderer is used to convert BBCode to Froala editor code?
 
It appeared to be simple. I've made a typo in class name that was extending. Its "BbCode", not "BBCode".
 
Back
Top Bottom