Skip to content

Commit 4dfb987

Browse files
PanJiaChenTrong. Pham Van - CMC Global DU1.19
authored andcommitted
perf[Tinymce]: import tinymce from cdn (PanJiaChen#1996)
1 parent ec8a8dd commit 4dfb987

40 files changed

+20
-723
lines changed

public/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
<title><%= webpackConfig.name %></title>
1010
</head>
1111
<body>
12-
<script src="<%= BASE_URL %>static/tinymce4.7.5/tinymce.min.js"></script>
12+
<!-- import cdn js -->
13+
<% for(var js of htmlWebpackPlugin.options.cdn.js) { %>
14+
<script src="<%=js%>"></script>
15+
<% } %>
1316
<div id="app"></div>
1417
<!-- built files will be auto injected -->
1518
</body>

public/static/tinymce4.7.5/langs/zh_CN.js

Lines changed: 0 additions & 230 deletions
This file was deleted.

public/static/tinymce4.7.5/plugins/codesample/css/prism.css

Lines changed: 0 additions & 138 deletions
This file was deleted.
-354 Bytes
Binary file not shown.
-329 Bytes
Binary file not shown.
-331 Bytes
Binary file not shown.
-342 Bytes
Binary file not shown.
-340 Bytes
Binary file not shown.
-336 Bytes
Binary file not shown.
-338 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)