cdn in cdn.magico.pl
This commit is contained in:
@@ -22,3 +22,9 @@ npm run lint
|
|||||||
|
|
||||||
### Customize configuration
|
### Customize configuration
|
||||||
See [Configuration Reference](https://cli.vuejs.org/config/).
|
See [Configuration Reference](https://cli.vuejs.org/config/).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
IMPORT TINYMCE FROM CDN
|
||||||
|
|
||||||
|
<script src="https://cdn.magico.pl/tinymce/tinymce.min.js"></script>
|
||||||
|
|||||||
@@ -1,19 +1,26 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="">
|
<html lang="">
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
<head>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500|Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp">
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/6.0.3/tinymce.min.js" integrity="sha512-DB4Mu+YChAdaLiuKCybPULuNSoFBZ2flD9vURt7PgU/7pUDnwgZEO+M89GjBLvK9v/NaixpswQtQRPSMRQwYIA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
<link rel="stylesheet"
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500|Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp">
|
||||||
</head>
|
<script src="https://cdn.magico.pl/tinymce/tinymce.min.js"></script>
|
||||||
<body>
|
<title>
|
||||||
<noscript>
|
<%= htmlWebpackPlugin.options.title %>
|
||||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
</title>
|
||||||
</noscript>
|
</head>
|
||||||
<div id="app"></div>
|
|
||||||
<!-- built files will be auto injected -->
|
<body>
|
||||||
</body>
|
<noscript>
|
||||||
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
|
||||||
|
Please enable it to continue.</strong>
|
||||||
|
</noscript>
|
||||||
|
<div id="app"></div>
|
||||||
|
<!-- built files will be auto injected -->
|
||||||
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -191,7 +191,7 @@ export default {
|
|||||||
},
|
},
|
||||||
modalOpen: function () {
|
modalOpen: function () {
|
||||||
this.modalBox = !this.modalBox;
|
this.modalBox = !this.modalBox;
|
||||||
this.getItems();
|
//this.getItems();
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ export default {
|
|||||||
width: '100%',
|
width: '100%',
|
||||||
selector: "textarea.wysiwyg",
|
selector: "textarea.wysiwyg",
|
||||||
language: "pl",
|
language: "pl",
|
||||||
language_url: 'https://www.magico.pl/assets/js/tinymce/langs/pl.js',
|
language_url: 'https://cdn.magico.pl/tinymce/langs/pl.js',
|
||||||
forced_root_block: "p",
|
forced_root_block: "p",
|
||||||
entity_encoding: 'named',
|
entity_encoding: 'named',
|
||||||
entities: '160,nbsp,38,amp,60,lt,62,gt',
|
entities: '160,nbsp,38,amp,60,lt,62,gt',
|
||||||
@@ -16,6 +16,7 @@ export default {
|
|||||||
image_caption: true,
|
image_caption: true,
|
||||||
image_description: true,
|
image_description: true,
|
||||||
image_title: true,
|
image_title: true,
|
||||||
|
promotion: false,
|
||||||
visualblocks_default_state: true,
|
visualblocks_default_state: true,
|
||||||
visualchars_default_state: false,
|
visualchars_default_state: false,
|
||||||
formats: {
|
formats: {
|
||||||
|
|||||||
Reference in New Issue
Block a user