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 16deb6c commit a8ab978Copy full SHA for a8ab978
js/patternkit.jsoneditor.js
@@ -7,6 +7,8 @@
7
* @external jQuery
8
*
9
* @external JSONEditor
10
+ *
11
+ * @todo .editor-shadow-injection-target .card all: initial
12
*/
13
14
(function ($, Drupal) {
@@ -35,8 +37,9 @@
35
37
icons_element.id = "icon_stylesheet";
36
38
icons_element.href = drupalSettings.patternkitEditor.iconStylesheet;
39
document.getElementsByTagName('head')[0].appendChild(icons_element);
40
+ editor_dom += '<link rel="stylesheet" id="icon_stylesheet" href="' + drupalSettings.patternkitEditor.iconStylesheet + '">';
41
}
- editor_dom += '<div id="editor_holder"></div>';
42
+ editor_dom += '<div id="editor_holder" style="all: initial"></div>';
43
shadow.innerHTML += editor_dom;
44
45
var data = {};
0 commit comments