We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest Github version (just updated)
If bbarea field is empty, to WYSIWYG() in the plugin addon is never applied
The reason is this test:
if($tmp = e107::callMethod($hookObj, 'toWYSIWYG', $value, $opts)) { $value = $tmp; }
$tmp is an empty string so it fails and the $value is not replaced
Database value: [html][/html]
[html][/html]
$text = $tp->toHTML($text, true); returns empty string ''
$text = $tp->toHTML($text, true);
test fails
$value is still [html][/html]
$value = '';
Chrome / Brave
8.2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What e107 version are you using?
Latest Github version (just updated)
Bug description
If bbarea field is empty, to WYSIWYG() in the plugin addon is never applied
The reason is this test:
$tmp is an empty string so it fails and the $value is not replaced
How to reproduce
Database value:
[html][/html]
$text = $tp->toHTML($text, true);
returns empty string ''test fails
$value is still
[html][/html]
Expected behavior
$value = '';
What browser(s) are you seeing the problem on?
Chrome / Brave
PHP Version
8.2
The text was updated successfully, but these errors were encountered: