Support ⇒ Dragonfly CMS v10 ⇒ [bug]includes/wysiwyg/wysiwyg.inc ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexDragonfly CMS v10

[bug]includes/wysiwyg/wysiwyg.inc Reply to topic


delete line 99
$html = \Dragonfly\BBCode::getTable($this->field, $this->form, 1);
and change line 100
$html .= '<textarea id="'.$this->field.'" name="'.$this->field.'" style="width: '.$this->width.'; height: '.$this->height.';" onselect="storeCaret(this);">'.htmlspecialchars($this->value).'</textarea>';

to
$html = '<textarea class="bbcode" id="'.$this->field.'" name="'.$this->field.'" style="width: '.$this->width.'; height: '.$this->height.';" onselect="storeCaret(this);">'.htmlspecialchars($this->value).'</textarea>';

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

Last edited by Phoenix on Sat Jan 26, 2019 3:07 am; edited 1 time in total


I've noted down this issue yesterday already but I didn't look into it yet, cheers.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


No problem - getTable no longer exists and you load bbcode differently now anyway.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Anything you forgot about this issue 😂 or I can got ahead with this one too.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Nah, this one was quite simple 😎

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

All times are UTC


Jump to: