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 3451143 commit eb2483aCopy full SHA for eb2483a
src/Chamilo/CoreBundle/Component/Editor/CkEditor/CkEditor.php
@@ -55,7 +55,11 @@ public function createHtml()
55
public function createHtmlStyle()
56
{
57
$style = '';
58
- if (trim($this->value) == '<html><head><title></title></head><body></body></html>' || $this->value == '') {
+
59
+ if (trim($this->value) == '<html><head><title></title></head><body></body></html>' ||
60
+ trim($this->value) == '<!DOCTYPE html><html><head><title></title></head><body></body></html>' ||
61
+ $this->value == ''
62
+ ) {
63
$style = api_get_css_asset('bootstrap/dist/css/bootstrap.min.css');
64
$style .= api_get_css_asset('fontawesome/css/font-awesome.min.css');
65
$style .= api_get_css(ChamiloApi::getEditorDocStylePath());
0 commit comments