Skip to content

Commit 439a970

Browse files
committed
Clean up
1 parent 702da08 commit 439a970

File tree

5 files changed

+36
-30
lines changed

5 files changed

+36
-30
lines changed

src/demo/html/basic.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88

99
<body>
1010
<h1>TinyMCE Web Component Simple Demo Page</h1>
11+
1112
<script>
1213
var editorConfig = {
1314
license_key: 'gpl'
1415
};
1516
</script>
17+
1618
<tinymce-editor config="editorConfig" promotion="false"></tinymce-editor>
1719
<script src="../../../node_modules/tinymce/tinymce.js"></script>
1820
<script src="../../../dist/tinymce-webcomponent.js"></script>

src/demo/html/common-attributes.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ <h1>TinyMCE Web Component Common Attributes Demo Page</h1>
3636
<li>icons_url</li>
3737
<li>setup</li>
3838
</ul>
39+
3940
<script>
4041
var editorConfig = {
4142
license_key: 'gpl'
4243
};
4344
</script>
45+
4446
<tinymce-editor
4547
config="editorConfig"
4648
height="500"

src/demo/html/content.html

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,32 @@
77
</head>
88

99
<body>
10-
<h1>TinyMCE Web Component Content Demo Page</h1>
11-
<script>
12-
var editorConfig = {
13-
license_key: 'gpl'
14-
};
15-
</script>
16-
<tinymce-editor config="editorConfig" promotion="false">
17-
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #bdc3c7;&quot;&gt;&amp;rarr; This is a full-featured editor demo. Please explore! &amp;larr;&lt;/span&gt;&lt;/p&gt;
18-
&lt;p style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&lt;/p&gt;
19-
&lt;h2 style=&quot;text-align: center;&quot;&gt;TinyMCE is the world's most customizable, and flexible, rich text editor.&lt;/h2&gt;
20-
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;strong&gt; &lt;span style=&quot;font-size: 14pt;&quot;&gt; &lt;span style=&quot;color: #7e8c8d; font-weight: 600;&quot;&gt; A featherweight download, TinyMCE can handle any challenge you throw at it. &lt;/span&gt; &lt;/span&gt; &lt;/strong&gt;&lt;/p&gt;
21-
&lt;p style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&lt;/p&gt;
22-
&lt;table style=&quot;border-collapse: collapse; width: 85%; margin-left: auto; margin-right: auto; border: 0;&quot;&gt;
23-
&lt;tbody&gt;
24-
&lt;tr&gt;
25-
&lt;td style=&quot;width: 25%; text-align: center; padding: 7px;&quot;&gt;&lt;span style=&quot;color: #95a5a6;&quot;&gt;🛠 50+ Plugins&lt;/span&gt;&lt;/td&gt;
26-
&lt;td style=&quot;width: 25%; text-align: center; padding: 7px;&quot;&gt;&lt;span style=&quot;color: #95a5a6;&quot;&gt;💡 Premium Support&lt;/span&gt;&lt;/td&gt;
27-
&lt;td style=&quot;width: 25%; text-align: center; padding: 7px;&quot;&gt;&lt;span style=&quot;color: #95a5a6;&quot;&gt;🖍 Custom Skins&lt;/span&gt;&lt;/td&gt;
28-
&lt;td style=&quot;width: 25%; text-align: center; padding: 7px;&quot;&gt;&lt;span style=&quot;color: #95a5a6;&quot;&gt;⚙ Full API Access&lt;/span&gt;&lt;/td&gt;
29-
&lt;/tr&gt;
30-
&lt;/tbody&gt;
31-
&lt;/table&gt;
32-
</tinymce-editor>
33-
<script src="../../../node_modules/tinymce/tinymce.js"></script>
34-
<script src="../../../dist/tinymce-webcomponent.js"></script>
10+
<h1>TinyMCE Web Component Content Demo Page</h1>
11+
12+
<script>
13+
var editorConfig = {
14+
license_key: 'gpl'
15+
};
16+
</script>
17+
18+
<tinymce-editor config="editorConfig" promotion="false">
19+
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #bdc3c7;&quot;&gt;&amp;rarr; This is a full-featured editor demo. Please explore! &amp;larr;&lt;/span&gt;&lt;/p&gt;
20+
&lt;p style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&lt;/p&gt;
21+
&lt;h2 style=&quot;text-align: center;&quot;&gt;TinyMCE is the world's most customizable, and flexible, rich text editor.&lt;/h2&gt;
22+
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;strong&gt; &lt;span style=&quot;font-size: 14pt;&quot;&gt; &lt;span style=&quot;color: #7e8c8d; font-weight: 600;&quot;&gt; A featherweight download, TinyMCE can handle any challenge you throw at it. &lt;/span&gt; &lt;/span&gt; &lt;/strong&gt;&lt;/p&gt;
23+
&lt;p style=&quot;text-align: center;&quot;&gt;&amp;nbsp;&lt;/p&gt;
24+
&lt;table style=&quot;border-collapse: collapse; width: 85%; margin-left: auto; margin-right: auto; border: 0;&quot;&gt;
25+
&lt;tbody&gt;
26+
&lt;tr&gt;
27+
&lt;td style=&quot;width: 25%; text-align: center; padding: 7px;&quot;&gt;&lt;span style=&quot;color: #95a5a6;&quot;&gt;🛠 50+ Plugins&lt;/span&gt;&lt;/td&gt;
28+
&lt;td style=&quot;width: 25%; text-align: center; padding: 7px;&quot;&gt;&lt;span style=&quot;color: #95a5a6;&quot;&gt;💡 Premium Support&lt;/span&gt;&lt;/td&gt;
29+
&lt;td style=&quot;width: 25%; text-align: center; padding: 7px;&quot;&gt;&lt;span style=&quot;color: #95a5a6;&quot;&gt;🖍 Custom Skins&lt;/span&gt;&lt;/td&gt;
30+
&lt;td style=&quot;width: 25%; text-align: center; padding: 7px;&quot;&gt;&lt;span style=&quot;color: #95a5a6;&quot;&gt;⚙ Full API Access&lt;/span&gt;&lt;/td&gt;
31+
&lt;/tr&gt;
32+
&lt;/tbody&gt;
33+
&lt;/table&gt;
34+
</tinymce-editor>
35+
<script src="../../../node_modules/tinymce/tinymce.js"></script>
36+
<script src="../../../dist/tinymce-webcomponent.js"></script>
3537
</body>
3638
</html>

src/demo/html/demo.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
license_key: 'gpl'
1313
};
1414
</script>
15+
1516
<h2>TinyMCE Web Component Demo Page</h2>
1617
<div id="ephox-ui">
1718
<h3>Attribute config</h3>

src/demo/html/events.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,15 @@
2121
};
2222
window['editors'] = editors;
2323
})();
24+
25+
var editorConfig = {
26+
license_key: 'gpl'
27+
};
2428
</script>
2529
</head>
2630

2731
<body>
2832
<h1>TinyMCE Web Component Events Demo Page</h1>
29-
<script>
30-
var editorConfig = {
31-
license_key: 'gpl'
32-
}
33-
</script>
3433
<tinymce-editor
3534
config="editorConfig"
3635
setup="editors.setupFn"

0 commit comments

Comments
 (0)