XF 2.2 BBCode and Toggle BB Code

TheSkullKid

Active member
Please could someone tell me what will be executed if you press the toggle BB Code button.

Is it something which then will be executed on PHP site, or is it a combination between JS and PHP?
 
The actual conversion is done server-side (via \XF\Controller\Pub\Editor::actionToBbCode and \XF\Controller\Pub\Editor::actionToHtml). The request/response and data handling to those endpoints is triggered via AJAX/JS.
 
The actual conversion is done server-side (via \XF\Controller\Pub\Editor::actionToBbCode and \XF\Controller\Pub\Editor::actionToHtml). The request/response and data handling to those endpoints is triggered via AJAX/JS.
Thx a lot, who convert a entered EMAIL into the URL field into the EMAIL BB Code?
 
If you mean the 'Insert link' button in the editor, then Froala itself inserts it as a mailto link. Those get rendered into EMAIL BBCodes in \XF\Html\Renderer\BbCode::handleTagA.
 
Back
Top Bottom