Skip to content

load bbcode buttons only if tinymce is used #4708

@Jimmi08

Description

@Jimmi08

Motivation

Saving time
it is parsing bbcode template and bbcode shortcodes without any use.

Proposed Solution

EDITED: test if the user can use HTML at all and tinymce is fired, only then use bbcodes

file: form_handler.php
method: bbarea()

		if (!check_class(e107::getConfig()->get('post_html', e_UC_MAINADMIN))) 
		{
			$ret .=	e107::getBB()->renderButtons($template,$help_tagid);
		}

Metadata

Metadata

Assignees

Labels

type: enhancementAn improvement or new feature request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions