We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f75d70 commit beb0777Copy full SHA for beb0777
main/inc/lib/formvalidator/Element/HtmlEditor.php
@@ -2,6 +2,7 @@
2
/* For licensing terms, see /license.txt */
3
4
use Chamilo\CoreBundle\Component\Editor\CkEditor\CkEditor;
5
+use Chamilo\CoreBundle\Component\HTMLPurifier\Filter\RemoveOnAttributes;
6
7
/**
8
* A html editor field to use with QuickForm.
@@ -110,4 +111,12 @@ public function buildEditor($style = false)
110
111
112
return $result;
113
}
114
+
115
+ /**
116
+ * @return string|null
117
+ */
118
+ public function getValue(): ?string
119
+ {
120
+ return RemoveOnAttributes::filter($this->_value);
121
+ }
122
0 commit comments