├── vue-cli
├── use_import
│ ├── .browserslistrc
│ ├── babel.config.js
│ ├── public
│ │ ├── favicon.ico
│ │ ├── tinymce
│ │ │ └── skins
│ │ │ │ └── ui
│ │ │ │ └── oxide
│ │ │ │ ├── fonts
│ │ │ │ └── tinymce-mobile.woff
│ │ │ │ ├── content.mobile.min.css
│ │ │ │ ├── skin.shadowdom.min.css
│ │ │ │ ├── content.mobile.css
│ │ │ │ └── skin.shadowdom.css
│ │ └── index.html
│ ├── src
│ │ ├── assets
│ │ │ └── logo.png
│ │ ├── main.js
│ │ ├── components
│ │ │ └── HelloWorld.vue
│ │ └── App.vue
│ ├── .gitignore
│ └── package.json
└── use_in_global
│ ├── .browserslistrc
│ ├── babel.config.js
│ ├── public
│ ├── favicon.ico
│ ├── tinymce
│ │ ├── skins
│ │ │ ├── ui
│ │ │ │ ├── oxide
│ │ │ │ │ ├── fonts
│ │ │ │ │ │ └── tinymce-mobile.woff
│ │ │ │ │ ├── content.mobile.min.css
│ │ │ │ │ └── content.mobile.css
│ │ │ │ └── oxide-dark
│ │ │ │ │ ├── fonts
│ │ │ │ │ └── tinymce-mobile.woff
│ │ │ │ │ ├── content.mobile.min.css
│ │ │ │ │ └── content.mobile.css
│ │ │ └── content
│ │ │ │ ├── default
│ │ │ │ ├── content.min.css
│ │ │ │ └── content.css
│ │ │ │ ├── writer
│ │ │ │ ├── content.min.css
│ │ │ │ └── content.css
│ │ │ │ ├── document
│ │ │ │ ├── content.min.css
│ │ │ │ └── content.css
│ │ │ │ └── dark
│ │ │ │ ├── content.min.css
│ │ │ │ └── content.css
│ │ ├── plugins
│ │ │ ├── hr
│ │ │ │ ├── index.js
│ │ │ │ ├── plugin.min.js
│ │ │ │ └── plugin.js
│ │ │ ├── code
│ │ │ │ ├── index.js
│ │ │ │ ├── plugin.min.js
│ │ │ │ └── plugin.js
│ │ │ ├── help
│ │ │ │ └── index.js
│ │ │ ├── link
│ │ │ │ └── index.js
│ │ │ ├── save
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── toc
│ │ │ │ └── index.js
│ │ │ ├── image
│ │ │ │ └── index.js
│ │ │ ├── lists
│ │ │ │ └── index.js
│ │ │ ├── media
│ │ │ │ └── index.js
│ │ │ ├── paste
│ │ │ │ └── index.js
│ │ │ ├── print
│ │ │ │ ├── index.js
│ │ │ │ ├── plugin.min.js
│ │ │ │ └── plugin.js
│ │ │ ├── table
│ │ │ │ └── index.js
│ │ │ ├── anchor
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── bbcode
│ │ │ │ └── index.js
│ │ │ ├── advlist
│ │ │ │ └── index.js
│ │ │ ├── charmap
│ │ │ │ └── index.js
│ │ │ ├── preview
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── autolink
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── autosave
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── emoticons
│ │ │ │ └── index.js
│ │ │ ├── fullpage
│ │ │ │ └── index.js
│ │ │ ├── importcss
│ │ │ │ └── index.js
│ │ │ ├── pagebreak
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── quickbars
│ │ │ │ └── index.js
│ │ │ ├── tabfocus
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── template
│ │ │ │ └── index.js
│ │ │ ├── textcolor
│ │ │ │ ├── index.js
│ │ │ │ ├── plugin.min.js
│ │ │ │ └── plugin.js
│ │ │ ├── wordcount
│ │ │ │ └── index.js
│ │ │ ├── autoresize
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── codesample
│ │ │ │ └── index.js
│ │ │ ├── fullscreen
│ │ │ │ └── index.js
│ │ │ ├── imagetools
│ │ │ │ └── index.js
│ │ │ ├── colorpicker
│ │ │ │ ├── index.js
│ │ │ │ ├── plugin.min.js
│ │ │ │ └── plugin.js
│ │ │ ├── contextmenu
│ │ │ │ ├── index.js
│ │ │ │ ├── plugin.min.js
│ │ │ │ └── plugin.js
│ │ │ ├── nonbreaking
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── noneditable
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── textpattern
│ │ │ │ └── index.js
│ │ │ ├── visualchars
│ │ │ │ └── index.js
│ │ │ ├── legacyoutput
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── spellchecker
│ │ │ │ └── index.js
│ │ │ ├── visualblocks
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ ├── directionality
│ │ │ │ └── index.js
│ │ │ ├── insertdatetime
│ │ │ │ ├── index.js
│ │ │ │ └── plugin.min.js
│ │ │ └── searchreplace
│ │ │ │ └── index.js
│ │ ├── icons
│ │ │ └── default
│ │ │ │ └── index.js
│ │ ├── themes
│ │ │ ├── mobile
│ │ │ │ └── index.js
│ │ │ └── silver
│ │ │ │ └── index.js
│ │ ├── bower.json
│ │ ├── package.json
│ │ └── composer.json
│ └── index.html
│ ├── src
│ ├── assets
│ │ └── logo.png
│ ├── main.js
│ ├── components
│ │ └── HelloWorld.vue
│ └── App.vue
│ ├── .gitignore
│ └── package.json
├── vite
├── use_import
│ ├── .browserslistrc
│ ├── babel.config.js
│ ├── favicon.ico
│ ├── src
│ │ ├── assets
│ │ │ └── logo.png
│ │ ├── views
│ │ │ ├── AboutView.vue
│ │ │ └── HomeView.vue
│ │ ├── router
│ │ │ └── index.js
│ │ ├── App.vue
│ │ └── main.js
│ ├── public
│ │ └── tinymce
│ │ │ └── skins
│ │ │ └── ui
│ │ │ └── oxide
│ │ │ ├── fonts
│ │ │ └── tinymce-mobile.woff
│ │ │ ├── content.mobile.min.css
│ │ │ ├── skin.shadowdom.min.css
│ │ │ ├── content.mobile.css
│ │ │ └── skin.shadowdom.css
│ ├── .gitignore
│ ├── jsconfig.json
│ ├── vite.config.js
│ ├── .eslintrc.js
│ ├── index.html
│ └── package.json
└── use_in_global
│ ├── .browserslistrc
│ ├── babel.config.js
│ ├── favicon.ico
│ ├── src
│ ├── assets
│ │ └── logo.png
│ ├── views
│ │ ├── AboutView.vue
│ │ └── HomeView.vue
│ ├── main.js
│ ├── router
│ │ └── index.js
│ └── App.vue
│ ├── public
│ └── tinymce
│ │ ├── skins
│ │ ├── ui
│ │ │ ├── oxide
│ │ │ │ ├── fonts
│ │ │ │ │ └── tinymce-mobile.woff
│ │ │ │ ├── content.mobile.min.css
│ │ │ │ ├── skin.shadowdom.min.css
│ │ │ │ ├── content.mobile.css
│ │ │ │ └── skin.shadowdom.css
│ │ │ └── oxide-dark
│ │ │ │ ├── fonts
│ │ │ │ └── tinymce-mobile.woff
│ │ │ │ ├── content.mobile.min.css
│ │ │ │ ├── skin.shadowdom.min.css
│ │ │ │ ├── content.mobile.css
│ │ │ │ └── skin.shadowdom.css
│ │ └── content
│ │ │ ├── default
│ │ │ ├── content.min.css
│ │ │ └── content.css
│ │ │ ├── writer
│ │ │ ├── content.min.css
│ │ │ └── content.css
│ │ │ ├── dark
│ │ │ ├── content.min.css
│ │ │ └── content.css
│ │ │ └── document
│ │ │ ├── content.min.css
│ │ │ └── content.css
│ │ ├── plugins
│ │ ├── hr
│ │ │ ├── index.js
│ │ │ ├── plugin.min.js
│ │ │ └── plugin.js
│ │ ├── toc
│ │ │ └── index.js
│ │ ├── code
│ │ │ ├── index.js
│ │ │ ├── plugin.min.js
│ │ │ └── plugin.js
│ │ ├── help
│ │ │ └── index.js
│ │ ├── link
│ │ │ └── index.js
│ │ ├── save
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── anchor
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── bbcode
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── image
│ │ │ └── index.js
│ │ ├── lists
│ │ │ └── index.js
│ │ ├── media
│ │ │ └── index.js
│ │ ├── paste
│ │ │ └── index.js
│ │ ├── print
│ │ │ ├── index.js
│ │ │ ├── plugin.min.js
│ │ │ └── plugin.js
│ │ ├── table
│ │ │ └── index.js
│ │ ├── advlist
│ │ │ └── index.js
│ │ ├── charmap
│ │ │ └── index.js
│ │ ├── preview
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── autolink
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── autosave
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── fullpage
│ │ │ └── index.js
│ │ ├── tabfocus
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── template
│ │ │ └── index.js
│ │ ├── emoticons
│ │ │ └── index.js
│ │ ├── importcss
│ │ │ └── index.js
│ │ ├── pagebreak
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── quickbars
│ │ │ └── index.js
│ │ ├── textcolor
│ │ │ ├── index.js
│ │ │ ├── plugin.min.js
│ │ │ └── plugin.js
│ │ ├── wordcount
│ │ │ └── index.js
│ │ ├── autoresize
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── codesample
│ │ │ └── index.js
│ │ ├── colorpicker
│ │ │ ├── index.js
│ │ │ ├── plugin.min.js
│ │ │ └── plugin.js
│ │ ├── contextmenu
│ │ │ ├── index.js
│ │ │ ├── plugin.min.js
│ │ │ └── plugin.js
│ │ ├── fullscreen
│ │ │ └── index.js
│ │ ├── imagetools
│ │ │ └── index.js
│ │ ├── nonbreaking
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── noneditable
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── textpattern
│ │ │ └── index.js
│ │ ├── visualchars
│ │ │ └── index.js
│ │ ├── legacyoutput
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── spellchecker
│ │ │ └── index.js
│ │ ├── visualblocks
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── searchreplace
│ │ │ └── index.js
│ │ ├── directionality
│ │ │ └── index.js
│ │ └── insertdatetime
│ │ │ ├── index.js
│ │ │ └── plugin.min.js
│ │ ├── themes
│ │ ├── mobile
│ │ │ └── index.js
│ │ └── silver
│ │ │ └── index.js
│ │ ├── icons
│ │ └── default
│ │ │ └── index.js
│ │ ├── bower.json
│ │ ├── composer.json
│ │ └── package.json
│ ├── .gitignore
│ ├── jsconfig.json
│ ├── vite.config.js
│ ├── .eslintrc.js
│ ├── index.html
│ └── package.json
├── .gitignore
├── LICENSE
└── README.md
/vue-cli/use_import/.browserslistrc:
--------------------------------------------------------------------------------
1 | > 1%
2 | last 2 versions
3 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/.browserslistrc:
--------------------------------------------------------------------------------
1 | > 1%
2 | last 2 versions
3 |
--------------------------------------------------------------------------------
/vite/use_import/.browserslistrc:
--------------------------------------------------------------------------------
1 | > 1%
2 | last 2 versions
3 | not dead
4 |
--------------------------------------------------------------------------------
/vite/use_in_global/.browserslistrc:
--------------------------------------------------------------------------------
1 | > 1%
2 | last 2 versions
3 | not dead
4 |
--------------------------------------------------------------------------------
/vite/use_import/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: ["@vue/cli-plugin-babel/preset"],
3 | };
4 |
--------------------------------------------------------------------------------
/vite/use_in_global/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: ["@vue/cli-plugin-babel/preset"],
3 | };
4 |
--------------------------------------------------------------------------------
/vite/use_import/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vite/use_import/favicon.ico
--------------------------------------------------------------------------------
/vite/use_in_global/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vite/use_in_global/favicon.ico
--------------------------------------------------------------------------------
/vue-cli/use_import/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: [
3 | '@vue/cli-plugin-babel/preset'
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: [
3 | '@vue/cli-plugin-babel/preset'
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/vite/use_import/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vite/use_import/src/assets/logo.png
--------------------------------------------------------------------------------
/vite/use_in_global/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vite/use_in_global/src/assets/logo.png
--------------------------------------------------------------------------------
/vue-cli/use_import/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vue-cli/use_import/public/favicon.ico
--------------------------------------------------------------------------------
/vue-cli/use_import/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vue-cli/use_import/src/assets/logo.png
--------------------------------------------------------------------------------
/vite/use_import/src/views/AboutView.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
This is an about page
4 |
5 |
6 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vue-cli/use_in_global/public/favicon.ico
--------------------------------------------------------------------------------
/vue-cli/use_in_global/src/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vue-cli/use_in_global/src/assets/logo.png
--------------------------------------------------------------------------------
/vite/use_in_global/src/views/AboutView.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
This is an about page
4 |
5 |
6 |
--------------------------------------------------------------------------------
/vite/use_import/public/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vite/use_import/public/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vite/use_in_global/public/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff
--------------------------------------------------------------------------------
/vue-cli/use_import/public/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vue-cli/use_import/public/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vue-cli/use_in_global/public/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vite/use_in_global/public/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lpreterite/vue-tinymce-example/HEAD/vue-cli/use_in_global/public/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/hr/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "hr" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/hr')
5 | // ES2015:
6 | // import 'tinymce/plugins/hr'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/toc/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "toc" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/toc')
5 | // ES2015:
6 | // import 'tinymce/plugins/toc'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/hr/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "hr" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/hr')
5 | // ES2015:
6 | // import 'tinymce/plugins/hr'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/code/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "code" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/code')
5 | // ES2015:
6 | // import 'tinymce/plugins/code'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/help/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "help" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/help')
5 | // ES2015:
6 | // import 'tinymce/plugins/help'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/link/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "link" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/link')
5 | // ES2015:
6 | // import 'tinymce/plugins/link'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/save/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "save" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/save')
5 | // ES2015:
6 | // import 'tinymce/plugins/save'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/themes/mobile/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "mobile" theme for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/themes/mobile')
5 | // ES2015:
6 | // import 'tinymce/themes/mobile'
7 | require('./theme.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/themes/silver/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "silver" theme for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/themes/silver')
5 | // ES2015:
6 | // import 'tinymce/themes/silver'
7 | require('./theme.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/code/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "code" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/code')
5 | // ES2015:
6 | // import 'tinymce/plugins/code'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/help/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "help" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/help')
5 | // ES2015:
6 | // import 'tinymce/plugins/help'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/link/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "link" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/link')
5 | // ES2015:
6 | // import 'tinymce/plugins/link'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/save/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "save" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/save')
5 | // ES2015:
6 | // import 'tinymce/plugins/save'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/toc/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "toc" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/toc')
5 | // ES2015:
6 | // import 'tinymce/plugins/toc'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/icons/default/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "default" icons for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/icons/default')
5 | // ES2015:
6 | // import 'tinymce/icons/default'
7 | require('./icons.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/anchor/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "anchor" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/anchor')
5 | // ES2015:
6 | // import 'tinymce/plugins/anchor'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/bbcode/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "bbcode" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/bbcode')
5 | // ES2015:
6 | // import 'tinymce/plugins/bbcode'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/image/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "image" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/image')
5 | // ES2015:
6 | // import 'tinymce/plugins/image'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/lists/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "lists" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/lists')
5 | // ES2015:
6 | // import 'tinymce/plugins/lists'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/media/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "media" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/media')
5 | // ES2015:
6 | // import 'tinymce/plugins/media'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/paste/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "paste" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/paste')
5 | // ES2015:
6 | // import 'tinymce/plugins/paste'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/print/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "print" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/print')
5 | // ES2015:
6 | // import 'tinymce/plugins/print'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/table/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "table" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/table')
5 | // ES2015:
6 | // import 'tinymce/plugins/table'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/icons/default/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "default" icons for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/icons/default')
5 | // ES2015:
6 | // import 'tinymce/icons/default'
7 | require('./icons.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/image/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "image" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/image')
5 | // ES2015:
6 | // import 'tinymce/plugins/image'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/lists/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "lists" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/lists')
5 | // ES2015:
6 | // import 'tinymce/plugins/lists'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/media/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "media" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/media')
5 | // ES2015:
6 | // import 'tinymce/plugins/media'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/paste/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "paste" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/paste')
5 | // ES2015:
6 | // import 'tinymce/plugins/paste'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/print/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "print" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/print')
5 | // ES2015:
6 | // import 'tinymce/plugins/print'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/table/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "table" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/table')
5 | // ES2015:
6 | // import 'tinymce/plugins/table'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/themes/mobile/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "mobile" theme for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/themes/mobile')
5 | // ES2015:
6 | // import 'tinymce/themes/mobile'
7 | require('./theme.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/themes/silver/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "silver" theme for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/themes/silver')
5 | // ES2015:
6 | // import 'tinymce/themes/silver'
7 | require('./theme.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/advlist/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "advlist" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/advlist')
5 | // ES2015:
6 | // import 'tinymce/plugins/advlist'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/charmap/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "charmap" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/charmap')
5 | // ES2015:
6 | // import 'tinymce/plugins/charmap'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/preview/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "preview" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/preview')
5 | // ES2015:
6 | // import 'tinymce/plugins/preview'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/anchor/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "anchor" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/anchor')
5 | // ES2015:
6 | // import 'tinymce/plugins/anchor'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/bbcode/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "bbcode" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/bbcode')
5 | // ES2015:
6 | // import 'tinymce/plugins/bbcode'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/autolink/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "autolink" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/autolink')
5 | // ES2015:
6 | // import 'tinymce/plugins/autolink'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/autosave/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "autosave" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/autosave')
5 | // ES2015:
6 | // import 'tinymce/plugins/autosave'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/fullpage/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "fullpage" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/fullpage')
5 | // ES2015:
6 | // import 'tinymce/plugins/fullpage'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/tabfocus/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "tabfocus" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/tabfocus')
5 | // ES2015:
6 | // import 'tinymce/plugins/tabfocus'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/template/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "template" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/template')
5 | // ES2015:
6 | // import 'tinymce/plugins/template'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/advlist/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "advlist" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/advlist')
5 | // ES2015:
6 | // import 'tinymce/plugins/advlist'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/charmap/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "charmap" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/charmap')
5 | // ES2015:
6 | // import 'tinymce/plugins/charmap'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/preview/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "preview" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/preview')
5 | // ES2015:
6 | // import 'tinymce/plugins/preview'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/emoticons/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "emoticons" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/emoticons')
5 | // ES2015:
6 | // import 'tinymce/plugins/emoticons'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/importcss/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "importcss" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/importcss')
5 | // ES2015:
6 | // import 'tinymce/plugins/importcss'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/pagebreak/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "pagebreak" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/pagebreak')
5 | // ES2015:
6 | // import 'tinymce/plugins/pagebreak'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/quickbars/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "quickbars" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/quickbars')
5 | // ES2015:
6 | // import 'tinymce/plugins/quickbars'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/textcolor/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "textcolor" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/textcolor')
5 | // ES2015:
6 | // import 'tinymce/plugins/textcolor'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/wordcount/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "wordcount" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/wordcount')
5 | // ES2015:
6 | // import 'tinymce/plugins/wordcount'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/autolink/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "autolink" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/autolink')
5 | // ES2015:
6 | // import 'tinymce/plugins/autolink'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/autosave/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "autosave" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/autosave')
5 | // ES2015:
6 | // import 'tinymce/plugins/autosave'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/emoticons/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "emoticons" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/emoticons')
5 | // ES2015:
6 | // import 'tinymce/plugins/emoticons'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/fullpage/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "fullpage" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/fullpage')
5 | // ES2015:
6 | // import 'tinymce/plugins/fullpage'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/importcss/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "importcss" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/importcss')
5 | // ES2015:
6 | // import 'tinymce/plugins/importcss'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/pagebreak/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "pagebreak" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/pagebreak')
5 | // ES2015:
6 | // import 'tinymce/plugins/pagebreak'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/quickbars/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "quickbars" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/quickbars')
5 | // ES2015:
6 | // import 'tinymce/plugins/quickbars'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/tabfocus/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "tabfocus" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/tabfocus')
5 | // ES2015:
6 | // import 'tinymce/plugins/tabfocus'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/template/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "template" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/template')
5 | // ES2015:
6 | // import 'tinymce/plugins/template'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/textcolor/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "textcolor" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/textcolor')
5 | // ES2015:
6 | // import 'tinymce/plugins/textcolor'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/wordcount/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "wordcount" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/wordcount')
5 | // ES2015:
6 | // import 'tinymce/plugins/wordcount'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/autoresize/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "autoresize" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/autoresize')
5 | // ES2015:
6 | // import 'tinymce/plugins/autoresize'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/codesample/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "codesample" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/codesample')
5 | // ES2015:
6 | // import 'tinymce/plugins/codesample'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/colorpicker/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "colorpicker" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/colorpicker')
5 | // ES2015:
6 | // import 'tinymce/plugins/colorpicker'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/contextmenu/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "contextmenu" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/contextmenu')
5 | // ES2015:
6 | // import 'tinymce/plugins/contextmenu'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/fullscreen/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "fullscreen" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/fullscreen')
5 | // ES2015:
6 | // import 'tinymce/plugins/fullscreen'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/imagetools/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "imagetools" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/imagetools')
5 | // ES2015:
6 | // import 'tinymce/plugins/imagetools'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/nonbreaking/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "nonbreaking" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/nonbreaking')
5 | // ES2015:
6 | // import 'tinymce/plugins/nonbreaking'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/noneditable/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "noneditable" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/noneditable')
5 | // ES2015:
6 | // import 'tinymce/plugins/noneditable'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/textpattern/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "textpattern" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/textpattern')
5 | // ES2015:
6 | // import 'tinymce/plugins/textpattern'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/visualchars/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "visualchars" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/visualchars')
5 | // ES2015:
6 | // import 'tinymce/plugins/visualchars'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/autoresize/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "autoresize" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/autoresize')
5 | // ES2015:
6 | // import 'tinymce/plugins/autoresize'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/codesample/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "codesample" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/codesample')
5 | // ES2015:
6 | // import 'tinymce/plugins/codesample'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/fullscreen/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "fullscreen" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/fullscreen')
5 | // ES2015:
6 | // import 'tinymce/plugins/fullscreen'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/imagetools/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "imagetools" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/imagetools')
5 | // ES2015:
6 | // import 'tinymce/plugins/imagetools'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/legacyoutput/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "legacyoutput" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/legacyoutput')
5 | // ES2015:
6 | // import 'tinymce/plugins/legacyoutput'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/spellchecker/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "spellchecker" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/spellchecker')
5 | // ES2015:
6 | // import 'tinymce/plugins/spellchecker'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/visualblocks/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "visualblocks" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/visualblocks')
5 | // ES2015:
6 | // import 'tinymce/plugins/visualblocks'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/colorpicker/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "colorpicker" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/colorpicker')
5 | // ES2015:
6 | // import 'tinymce/plugins/colorpicker'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/contextmenu/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "contextmenu" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/contextmenu')
5 | // ES2015:
6 | // import 'tinymce/plugins/contextmenu'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/nonbreaking/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "nonbreaking" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/nonbreaking')
5 | // ES2015:
6 | // import 'tinymce/plugins/nonbreaking'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/noneditable/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "noneditable" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/noneditable')
5 | // ES2015:
6 | // import 'tinymce/plugins/noneditable'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/textpattern/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "textpattern" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/textpattern')
5 | // ES2015:
6 | // import 'tinymce/plugins/textpattern'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/visualchars/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "visualchars" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/visualchars')
5 | // ES2015:
6 | // import 'tinymce/plugins/visualchars'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/searchreplace/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "searchreplace" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/searchreplace')
5 | // ES2015:
6 | // import 'tinymce/plugins/searchreplace'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/legacyoutput/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "legacyoutput" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/legacyoutput')
5 | // ES2015:
6 | // import 'tinymce/plugins/legacyoutput'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/spellchecker/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "spellchecker" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/spellchecker')
5 | // ES2015:
6 | // import 'tinymce/plugins/spellchecker'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/visualblocks/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "visualblocks" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/visualblocks')
5 | // ES2015:
6 | // import 'tinymce/plugins/visualblocks'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/directionality/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "directionality" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/directionality')
5 | // ES2015:
6 | // import 'tinymce/plugins/directionality'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/insertdatetime/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "insertdatetime" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/insertdatetime')
5 | // ES2015:
6 | // import 'tinymce/plugins/insertdatetime'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/directionality/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "directionality" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/directionality')
5 | // ES2015:
6 | // import 'tinymce/plugins/directionality'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/insertdatetime/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "insertdatetime" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/insertdatetime')
5 | // ES2015:
6 | // import 'tinymce/plugins/insertdatetime'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/searchreplace/index.js:
--------------------------------------------------------------------------------
1 | // Exports the "searchreplace" plugin for usage with module loaders
2 | // Usage:
3 | // CommonJS:
4 | // require('tinymce/plugins/searchreplace')
5 | // ES2015:
6 | // import 'tinymce/plugins/searchreplace'
7 | require('./plugin.js');
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | /dist
4 |
5 | # local env files
6 | .env.local
7 | .env.*.local
8 |
9 | # Log files
10 | npm-debug.log*
11 | yarn-debug.log*
12 | yarn-error.log*
13 |
14 | # Editor directories and files
15 | .idea
16 | .vscode
17 | *.suo
18 | *.ntvs*
19 | *.njsproj
20 | *.sln
21 | *.sw?
22 |
--------------------------------------------------------------------------------
/vue-cli/use_import/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | /dist
4 |
5 | # local env files
6 | .env.local
7 | .env.*.local
8 |
9 | # Log files
10 | npm-debug.log*
11 | yarn-debug.log*
12 | yarn-error.log*
13 |
14 | # Editor directories and files
15 | .idea
16 | .vscode
17 | *.suo
18 | *.ntvs*
19 | *.njsproj
20 | *.sln
21 | *.sw?
22 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | /dist
4 |
5 | # local env files
6 | .env.local
7 | .env.*.local
8 |
9 | # Log files
10 | npm-debug.log*
11 | yarn-debug.log*
12 | yarn-error.log*
13 |
14 | # Editor directories and files
15 | .idea
16 | .vscode
17 | *.suo
18 | *.ntvs*
19 | *.njsproj
20 | *.sln
21 | *.sw?
22 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/src/main.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import App from './App.vue'
3 | import tinymce from 'tinymce'
4 | import VueTinymce from '@packy-tang/vue-tinymce'
5 |
6 | Vue.prototype.$tinymce = tinymce
7 | Vue.use(VueTinymce)
8 |
9 | Vue.config.productionTip = false
10 |
11 | new Vue({
12 | render: h => h(App),
13 | }).$mount('#app')
14 |
--------------------------------------------------------------------------------
/vite/use_import/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | /dist
4 |
5 |
6 | # local env files
7 | .env.local
8 | .env.*.local
9 |
10 | # Log files
11 | npm-debug.log*
12 | yarn-debug.log*
13 | yarn-error.log*
14 | pnpm-debug.log*
15 |
16 | # Editor directories and files
17 | .idea
18 | .vscode
19 | *.suo
20 | *.ntvs*
21 | *.njsproj
22 | *.sln
23 | *.sw?
24 |
--------------------------------------------------------------------------------
/vite/use_in_global/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | /dist
4 |
5 |
6 | # local env files
7 | .env.local
8 | .env.*.local
9 |
10 | # Log files
11 | npm-debug.log*
12 | yarn-debug.log*
13 | yarn-error.log*
14 | pnpm-debug.log*
15 |
16 | # Editor directories and files
17 | .idea
18 | .vscode
19 | *.suo
20 | *.ntvs*
21 | *.njsproj
22 | *.sln
23 | *.sw?
24 |
--------------------------------------------------------------------------------
/vite/use_import/jsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es5",
4 | "module": "esnext",
5 | "baseUrl": "./",
6 | "moduleResolution": "node",
7 | "paths": {
8 | "@/*": [
9 | "src/*"
10 | ]
11 | },
12 | "lib": [
13 | "esnext",
14 | "dom",
15 | "dom.iterable",
16 | "scripthost"
17 | ]
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/vite/use_in_global/jsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es5",
4 | "module": "esnext",
5 | "baseUrl": "./",
6 | "moduleResolution": "node",
7 | "paths": {
8 | "@/*": [
9 | "src/*"
10 | ]
11 | },
12 | "lib": [
13 | "esnext",
14 | "dom",
15 | "dom.iterable",
16 | "scripthost"
17 | ]
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/vite/use_import/vite.config.js:
--------------------------------------------------------------------------------
1 | import { resolve } from "path"
2 | import { defineConfig } from 'vite'
3 | import { createVuePlugin as vue } from "vite-plugin-vue2";
4 |
5 | export default defineConfig({
6 | plugins: [vue()],
7 | resolve: {
8 | extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'],
9 | alias: {
10 | "@": resolve(__dirname, "./src"),
11 | },
12 | },
13 | })
--------------------------------------------------------------------------------
/vite/use_in_global/vite.config.js:
--------------------------------------------------------------------------------
1 | import { resolve } from "path"
2 | import { defineConfig } from 'vite'
3 | import { createVuePlugin as vue } from "vite-plugin-vue2";
4 |
5 | export default defineConfig({
6 | plugins: [vue()],
7 | resolve: {
8 | extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'],
9 | alias: {
10 | "@": resolve(__dirname, "./src"),
11 | },
12 | },
13 | })
--------------------------------------------------------------------------------
/vite/use_in_global/src/main.js:
--------------------------------------------------------------------------------
1 | import Vue from "vue";
2 | import App from "./App.vue";
3 | import router from "./router";
4 |
5 | //本地化
6 | import "./utils/tinymce/langs/zh_CN.js";
7 |
8 | import TinymceVue from "@tinymce/tinymce-vue";
9 | Vue.component("TinymceVue", TinymceVue);
10 |
11 | Vue.config.productionTip = false;
12 |
13 | new Vue({
14 | router,
15 | render: (h) => h(App),
16 | }).$mount("#app");
17 |
--------------------------------------------------------------------------------
/vite/use_import/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | env: {
4 | node: true,
5 | es2022: true,
6 | },
7 | extends: [
8 | "plugin:vue/essential",
9 | "eslint:recommended",
10 | "plugin:prettier/recommended",
11 | ],
12 | rules: {
13 | "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
14 | "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
15 | },
16 | };
17 |
--------------------------------------------------------------------------------
/vite/use_in_global/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | env: {
4 | node: true,
5 | es2022: true,
6 | },
7 | extends: [
8 | "plugin:vue/essential",
9 | "eslint:recommended",
10 | "plugin:prettier/recommended",
11 | ],
12 | rules: {
13 | "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
14 | "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
15 | },
16 | };
17 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/textcolor/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("textcolor",function(){})}();
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/colorpicker/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("colorpicker",function(){})}();
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/contextmenu/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("contextmenu",function(){})}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "tinymce",
3 | "description": "Web based JavaScript HTML WYSIWYG editor control.",
4 | "license": "LGPL-2.1",
5 | "keywords": [
6 | "editor",
7 | "wysiwyg",
8 | "tinymce",
9 | "richtext",
10 | "javascript",
11 | "html"
12 | ],
13 | "homepage": "http://www.tinymce.com",
14 | "ignore": [
15 | "readme.md",
16 | "composer.json",
17 | "package.json",
18 | ".npmignore",
19 | "changelog.txt"
20 | ]
21 | }
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "tinymce",
3 | "version": "5.1.5",
4 | "repository": {
5 | "type": "git",
6 | "url": "https://github.com/tinymce/tinymce-dist.git"
7 | },
8 | "description": "Web based JavaScript HTML WYSIWYG editor control.",
9 | "author": "Ephox Corporation",
10 | "main": "tinymce.js",
11 | "license": "LGPL-2.1",
12 | "keywords": [
13 | "editor",
14 | "wysiwyg",
15 | "tinymce",
16 | "richtext",
17 | "javascript",
18 | "html"
19 | ],
20 | "bugs": {
21 | "url": "https://github.com/tinymce/tinymce/issues"
22 | }
23 | }
--------------------------------------------------------------------------------
/vite/use_import/src/router/index.js:
--------------------------------------------------------------------------------
1 | import Vue from "vue";
2 | import VueRouter from "vue-router";
3 | import HomeView from "../views/HomeView.vue";
4 |
5 | Vue.use(VueRouter);
6 |
7 | const routes = [
8 | {
9 | path: "/",
10 | name: "home",
11 | component: HomeView,
12 | },
13 | {
14 | path: "/about",
15 | name: "about",
16 | component: () =>
17 | import("../views/AboutView.vue"),
18 | },
19 | ];
20 |
21 | const router = new VueRouter({
22 | mode: "history",
23 | base: import.meta.env.BASE_URL,
24 | routes,
25 | });
26 |
27 | export default router;
28 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "tinymce",
3 | "description": "Web based JavaScript HTML WYSIWYG editor control.",
4 | "license": "LGPL-2.1",
5 | "keywords": [
6 | "wysiwyg",
7 | "tinymce",
8 | "richtext",
9 | "javascript",
10 | "html",
11 | "text",
12 | "rich editor",
13 | "rich text editor",
14 | "rte",
15 | "rich text",
16 | "contenteditable",
17 | "editing"
18 | ],
19 | "homepage": "https://www.tiny.cloud/",
20 | "ignore": [
21 | "README.md",
22 | "composer.json",
23 | "package.json",
24 | ".npmignore",
25 | "CHANGELOG.md"
26 | ]
27 | }
--------------------------------------------------------------------------------
/vite/use_in_global/src/router/index.js:
--------------------------------------------------------------------------------
1 | import Vue from "vue";
2 | import VueRouter from "vue-router";
3 | import HomeView from "../views/HomeView.vue";
4 |
5 | Vue.use(VueRouter);
6 |
7 | const routes = [
8 | {
9 | path: "/",
10 | name: "home",
11 | component: HomeView,
12 | },
13 | {
14 | path: "/about",
15 | name: "about",
16 | component: () =>
17 | import("../views/AboutView.vue"),
18 | },
19 | ];
20 |
21 | const router = new VueRouter({
22 | mode: "history",
23 | base: import.meta.env.BASE_URL,
24 | routes,
25 | });
26 |
27 | export default router;
28 |
--------------------------------------------------------------------------------
/vue-cli/use_import/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vue",
3 | "version": "0.1.0",
4 | "private": true,
5 | "scripts": {
6 | "serve": "vue-cli-service serve",
7 | "build": "vue-cli-service build"
8 | },
9 | "dependencies": {
10 | "@packy-tang/vue-tinymce": "^1.1.2",
11 | "core-js": "^3.4.4",
12 | "tinymce": "^5.10.2",
13 | "vue": "^2.6.10"
14 | },
15 | "devDependencies": {
16 | "@vue/cli-plugin-babel": "^4.1.0",
17 | "@vue/cli-service": "^4.1.0",
18 | "node-sass": "^4.12.0",
19 | "sass-loader": "^8.0.0",
20 | "vue-template-compiler": "^2.6.10"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vue",
3 | "version": "0.1.0",
4 | "private": true,
5 | "scripts": {
6 | "serve": "vue-cli-service serve",
7 | "build": "vue-cli-service build"
8 | },
9 | "dependencies": {
10 | "@packy-tang/vue-tinymce": "^1.1.2",
11 | "core-js": "^3.4.4",
12 | "tinymce": "^5.10.2",
13 | "vue": "^2.6.10"
14 | },
15 | "devDependencies": {
16 | "@vue/cli-plugin-babel": "^4.1.0",
17 | "@vue/cli-service": "^4.1.0",
18 | "node-sass": "^4.12.0",
19 | "sass-loader": "^8.0.0",
20 | "vue-template-compiler": "^2.6.10"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/vite/use_import/public/tinymce/skins/ui/oxide/content.mobile.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse}
8 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/ui/oxide/content.mobile.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse}
8 |
--------------------------------------------------------------------------------
/vue-cli/use_import/public/tinymce/skins/ui/oxide/content.mobile.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse}
8 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/ui/oxide-dark/content.mobile.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse}
8 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/textcolor/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.1.5 (2019-12-19)
8 | */
9 | !function(o){"use strict";var i=tinymce.util.Tools.resolve("tinymce.PluginManager");!function n(){i.add("textcolor",function(){o.console.warn("Text color plugin is now built in to the core editor, please remove it from your editor configuration")})}()}(window);
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/ui/oxide/content.mobile.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse}
8 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/colorpicker/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.1.5 (2019-12-19)
8 | */
9 | !function(o){"use strict";var i=tinymce.util.Tools.resolve("tinymce.PluginManager");!function n(){i.add("colorpicker",function(){o.console.warn("Color picker plugin is now built in to the core editor, please remove it from your editor configuration")})}()}(window);
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/contextmenu/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.1.5 (2019-12-19)
8 | */
9 | !function(n){"use strict";var o=tinymce.util.Tools.resolve("tinymce.PluginManager");!function e(){o.add("contextmenu",function(){n.console.warn("Context menu plugin is now built in to the core editor, please remove it from your editor configuration")})}()}(window);
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/ui/oxide-dark/content.mobile.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse}
8 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/colorpicker/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | (function () {
10 | 'use strict';
11 |
12 | var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | function Plugin () {
15 | global.add('colorpicker', function () {
16 | });
17 | }
18 |
19 | Plugin();
20 |
21 | }());
22 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/contextmenu/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | (function () {
10 | 'use strict';
11 |
12 | var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | function Plugin () {
15 | global.add('contextmenu', function () {
16 | });
17 | }
18 |
19 | Plugin();
20 |
21 | }());
22 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/textcolor/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | (function () {
10 | 'use strict';
11 |
12 | var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | function Plugin () {
15 | global.add('textcolor', function () {
16 | });
17 | }
18 |
19 | Plugin();
20 |
21 | }());
22 |
--------------------------------------------------------------------------------
/vue-cli/use_import/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | vue
9 |
10 |
11 |
12 | We're sorry but vue doesn't work properly without JavaScript enabled. Please enable it to continue.
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/vite/use_import/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Home |
5 | About
6 |
7 |
8 |
9 |
10 |
11 |
33 |
--------------------------------------------------------------------------------
/vite/use_import/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Use Import Tinymce
9 |
10 |
11 |
12 | We're sorry but Use Import Tinymce doesn't work properly without JavaScript enabled. Please enable it to continue.
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/vite/use_in_global/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Home |
5 | About
6 |
7 |
8 |
9 |
10 |
11 |
33 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | vue
9 |
10 |
11 |
12 | We're sorry but vue doesn't work properly without JavaScript enabled. Please enable it to continue.
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/vite/use_in_global/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Use Import Tinymce
9 |
10 |
11 |
12 |
13 | We're sorry but Use Import Tinymce doesn't work properly without JavaScript enabled. Please enable it to continue.
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/textcolor/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.1.5 (2019-12-19)
8 | */
9 | (function (domGlobals) {
10 | 'use strict';
11 |
12 | var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | function Plugin () {
15 | global.add('textcolor', function () {
16 | domGlobals.console.warn('Text color plugin is now built in to the core editor, please remove it from your editor configuration');
17 | });
18 | }
19 |
20 | Plugin();
21 |
22 | }(window));
23 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/hr/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("hr",function(n){var o,t;function e(){return t.execCommand("InsertHorizontalRule")}(o=n).addCommand("InsertHorizontalRule",function(){o.execCommand("mceInsertContent",!1," ")}),(t=n).ui.registry.addButton("hr",{icon:"horizontal-rule",tooltip:"Horizontal line",onAction:e}),t.ui.registry.addMenuItem("hr",{icon:"horizontal-rule",text:"Horizontal line",onAction:e})})}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/colorpicker/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.1.5 (2019-12-19)
8 | */
9 | (function (domGlobals) {
10 | 'use strict';
11 |
12 | var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | function Plugin () {
15 | global.add('colorpicker', function () {
16 | domGlobals.console.warn('Color picker plugin is now built in to the core editor, please remove it from your editor configuration');
17 | });
18 | }
19 |
20 | Plugin();
21 |
22 | }(window));
23 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/contextmenu/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.1.5 (2019-12-19)
8 | */
9 | (function (domGlobals) {
10 | 'use strict';
11 |
12 | var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | function Plugin () {
15 | global.add('contextmenu', function () {
16 | domGlobals.console.warn('Context menu plugin is now built in to the core editor, please remove it from your editor configuration');
17 | });
18 | }
19 |
20 | Plugin();
21 |
22 | }(window));
23 |
--------------------------------------------------------------------------------
/vite/use_import/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}
8 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}
8 |
--------------------------------------------------------------------------------
/vue-cli/use_import/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}
8 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}
8 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/print/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=tinymce.util.Tools.resolve("tinymce.Env");n.add("print",function(n){var t,i;function e(){return i.execCommand("mcePrint")}(t=n).addCommand("mcePrint",function(){r.browser.isIE()?t.getDoc().execCommand("print",!1,null):t.getWin().print()}),(i=n).ui.registry.addButton("print",{icon:"print",tooltip:"Print",onAction:e}),i.ui.registry.addMenuItem("print",{text:"Print...",icon:"print",onAction:e}),n.addShortcut("Meta+P","","mcePrint")})}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/hr/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | !function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager");!function o(){n.add("hr",function(n){var o,t;(o=n).addCommand("InsertHorizontalRule",function(){o.execCommand("mceInsertContent",!1," ")}),(t=n).ui.registry.addButton("hr",{icon:"horizontal-rule",tooltip:"Horizontal line",onAction:function(){return t.execCommand("InsertHorizontalRule")}}),t.ui.registry.addMenuItem("hr",{icon:"horizontal-rule",text:"Horizontal line",onAction:function(){return t.execCommand("InsertHorizontalRule")}})})}()}();
--------------------------------------------------------------------------------
/vite/use_import/public/tinymce/skins/ui/oxide/content.mobile.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection {
8 | /* Note: this file is used inside the content, so isn't part of theming */
9 | background-color: green;
10 | display: inline-block;
11 | opacity: 0.5;
12 | position: absolute;
13 | }
14 | body {
15 | -webkit-text-size-adjust: none;
16 | }
17 | body img {
18 | /* this is related to the content margin */
19 | max-width: 96vw;
20 | }
21 | body table img {
22 | max-width: 95%;
23 | }
24 | body {
25 | font-family: sans-serif;
26 | }
27 | table {
28 | border-collapse: collapse;
29 | }
30 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/ui/oxide/content.mobile.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection {
8 | /* Note: this file is used inside the content, so isn't part of theming */
9 | background-color: green;
10 | display: inline-block;
11 | opacity: 0.5;
12 | position: absolute;
13 | }
14 | body {
15 | -webkit-text-size-adjust: none;
16 | }
17 | body img {
18 | /* this is related to the content margin */
19 | max-width: 96vw;
20 | }
21 | body table img {
22 | max-width: 95%;
23 | }
24 | body {
25 | font-family: sans-serif;
26 | }
27 | table {
28 | border-collapse: collapse;
29 | }
30 |
--------------------------------------------------------------------------------
/vue-cli/use_import/public/tinymce/skins/ui/oxide/content.mobile.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection {
8 | /* Note: this file is used inside the content, so isn't part of theming */
9 | background-color: green;
10 | display: inline-block;
11 | opacity: 0.5;
12 | position: absolute;
13 | }
14 | body {
15 | -webkit-text-size-adjust: none;
16 | }
17 | body img {
18 | /* this is related to the content margin */
19 | max-width: 96vw;
20 | }
21 | body table img {
22 | max-width: 95%;
23 | }
24 | body {
25 | font-family: sans-serif;
26 | }
27 | table {
28 | border-collapse: collapse;
29 | }
30 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/ui/oxide/content.mobile.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection {
8 | /* Note: this file is used inside the content, so isn't part of theming */
9 | background-color: green;
10 | display: inline-block;
11 | opacity: 0.5;
12 | position: absolute;
13 | }
14 | body {
15 | -webkit-text-size-adjust: none;
16 | }
17 | body img {
18 | /* this is related to the content margin */
19 | max-width: 96vw;
20 | }
21 | body table img {
22 | max-width: 95%;
23 | }
24 | body {
25 | font-family: sans-serif;
26 | }
27 | table {
28 | border-collapse: collapse;
29 | }
30 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/ui/oxide-dark/content.mobile.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection {
8 | /* Note: this file is used inside the content, so isn't part of theming */
9 | background-color: green;
10 | display: inline-block;
11 | opacity: 0.5;
12 | position: absolute;
13 | }
14 | body {
15 | -webkit-text-size-adjust: none;
16 | }
17 | body img {
18 | /* this is related to the content margin */
19 | max-width: 96vw;
20 | }
21 | body table img {
22 | max-width: 95%;
23 | }
24 | body {
25 | font-family: sans-serif;
26 | }
27 | table {
28 | border-collapse: collapse;
29 | }
30 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/ui/oxide-dark/content.mobile.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection {
8 | /* Note: this file is used inside the content, so isn't part of theming */
9 | background-color: green;
10 | display: inline-block;
11 | opacity: 0.5;
12 | position: absolute;
13 | }
14 | body {
15 | -webkit-text-size-adjust: none;
16 | }
17 | body img {
18 | /* this is related to the content margin */
19 | max-width: 96vw;
20 | }
21 | body table img {
22 | max-width: 95%;
23 | }
24 | body {
25 | font-family: sans-serif;
26 | }
27 | table {
28 | border-collapse: collapse;
29 | }
30 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/print/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | !function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=tinymce.util.Tools.resolve("tinymce.Env");!function t(){n.add("print",function(n){var t,i;(t=n).addCommand("mcePrint",function(){e.browser.isIE()?t.getDoc().execCommand("print",!1,null):t.getWin().print()}),(i=n).ui.registry.addButton("print",{icon:"print",tooltip:"Print",onAction:function(){return i.execCommand("mcePrint")}}),i.ui.registry.addMenuItem("print",{text:"Print...",icon:"print",onAction:function(){return i.execCommand("mcePrint")}}),n.addShortcut("Meta+P","","mcePrint")})}()}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "tinymce/tinymce",
3 | "version": "5.3.1",
4 | "description": "Web based JavaScript HTML WYSIWYG editor control.",
5 | "license": [
6 | "LGPL-2.1-only"
7 | ],
8 | "keywords": [
9 | "editor",
10 | "wysiwyg",
11 | "tinymce",
12 | "richtext",
13 | "javascript",
14 | "html"
15 | ],
16 | "homepage": "http://www.tinymce.com",
17 | "type": "component",
18 | "extra": {
19 | "component": {
20 | "scripts": [
21 | "tinymce.js",
22 | "plugins/*/plugin.js",
23 | "themes/*/theme.js",
24 | "themes/*/icons.js"
25 | ],
26 | "files": [
27 | "tinymce.min.js",
28 | "plugins/*/plugin.min.js",
29 | "themes/*/theme.min.js",
30 | "skins/**",
31 | "icons/*/icons.min.js"
32 | ]
33 | }
34 | },
35 | "archive": {
36 | "exclude": [
37 | "readme.md",
38 | "bower.js",
39 | "package.json",
40 | ".npmignore",
41 | "changelog.txt"
42 | ]
43 | }
44 | }
--------------------------------------------------------------------------------
/vite/use_import/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "use_import",
3 | "version": "0.1.0",
4 | "private": true,
5 | "scripts": {
6 | "dev": "vite",
7 | "build": "vite build",
8 | "serve": "vite preview",
9 | "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src"
10 | },
11 | "dependencies": {
12 | "@tinymce/tinymce-vue": "^3.2.8",
13 | "tinymce": "^5.10.7",
14 | "vue": "^2.6.14",
15 | "vue-router": "^3.5.1"
16 | },
17 | "devDependencies": {
18 | "@babel/core": "^7.12.16",
19 | "@babel/eslint-parser": "^7.12.16",
20 | "@vitejs/plugin-vue": "^4.2.3",
21 | "@vue/cli-plugin-babel": "^5.0.8",
22 | "eslint": "^8.43.0",
23 | "eslint-config-prettier": "^8.3.0",
24 | "eslint-plugin-prettier": "^4.0.0",
25 | "eslint-plugin-vue": "^8.7.1",
26 | "prettier": "^2.4.1",
27 | "sass": "^1.32.7",
28 | "vite": "^4.3.9",
29 | "vite-plugin-vue2": "^2.0.3",
30 | "vue-template-compiler": "^2.7.14"
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/vite/use_in_global/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "use_import",
3 | "version": "0.1.0",
4 | "private": true,
5 | "scripts": {
6 | "dev": "vite",
7 | "build": "vite build",
8 | "serve": "vite preview",
9 | "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src"
10 | },
11 | "dependencies": {
12 | "@tinymce/tinymce-vue": "^3.2.8",
13 | "tinymce": "^5.10.7",
14 | "vue": "^2.6.14",
15 | "vue-router": "^3.5.1"
16 | },
17 | "devDependencies": {
18 | "@babel/core": "^7.12.16",
19 | "@babel/eslint-parser": "^7.12.16",
20 | "@vitejs/plugin-vue": "^4.2.3",
21 | "@vue/cli-plugin-babel": "^5.0.8",
22 | "eslint": "^8.43.0",
23 | "eslint-config-prettier": "^8.3.0",
24 | "eslint-plugin-prettier": "^4.0.0",
25 | "eslint-plugin-vue": "^8.7.1",
26 | "prettier": "^2.4.1",
27 | "sass": "^1.32.7",
28 | "vite": "^4.3.9",
29 | "vite-plugin-vue2": "^2.0.3",
30 | "vue-template-compiler": "^2.7.14"
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/content/default/content.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
8 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/content/writer/content.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem auto;max-width:900px}table{border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
8 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "tinymce/tinymce",
3 | "version": "5.10.7",
4 | "description": "Web based JavaScript HTML WYSIWYG editor control.",
5 | "license": [
6 | "LGPL-2.1-only"
7 | ],
8 | "keywords": [
9 | "wysiwyg",
10 | "tinymce",
11 | "richtext",
12 | "javascript",
13 | "html",
14 | "text",
15 | "rich editor",
16 | "rich text editor",
17 | "rte",
18 | "rich text",
19 | "contenteditable",
20 | "editing"
21 | ],
22 | "homepage": "https://www.tiny.cloud/",
23 | "type": "component",
24 | "extra": {
25 | "component": {
26 | "scripts": [
27 | "tinymce.js",
28 | "plugins/*/plugin.js",
29 | "themes/*/theme.js",
30 | "themes/*/icons.js"
31 | ],
32 | "files": [
33 | "tinymce.min.js",
34 | "plugins/*/plugin.min.js",
35 | "themes/*/theme.min.js",
36 | "skins/**",
37 | "icons/*/icons.min.js"
38 | ]
39 | }
40 | },
41 | "archive": {
42 | "exclude": [
43 | "README.md",
44 | "bower.js",
45 | "package.json",
46 | ".npmignore",
47 | "CHANGELOG.md"
48 | ]
49 | }
50 | }
--------------------------------------------------------------------------------
/vite/use_import/public/tinymce/skins/ui/oxide/skin.shadowdom.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body.tox-dialog__disable-scroll {
8 | overflow: hidden;
9 | }
10 | .tox-fullscreen {
11 | border: 0;
12 | height: 100%;
13 | margin: 0;
14 | overflow: hidden;
15 | -ms-scroll-chaining: none;
16 | overscroll-behavior: none;
17 | padding: 0;
18 | touch-action: pinch-zoom;
19 | width: 100%;
20 | }
21 | .tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle {
22 | display: none;
23 | }
24 | .tox.tox-tinymce.tox-fullscreen,
25 | .tox-shadowhost.tox-fullscreen {
26 | left: 0;
27 | position: fixed;
28 | top: 0;
29 | z-index: 1200;
30 | }
31 | .tox.tox-tinymce.tox-fullscreen {
32 | background-color: transparent;
33 | }
34 | .tox-fullscreen .tox.tox-tinymce-aux,
35 | .tox-fullscreen ~ .tox.tox-tinymce-aux {
36 | z-index: 1201;
37 | }
38 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/ui/oxide/skin.shadowdom.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body.tox-dialog__disable-scroll {
8 | overflow: hidden;
9 | }
10 | .tox-fullscreen {
11 | border: 0;
12 | height: 100%;
13 | margin: 0;
14 | overflow: hidden;
15 | -ms-scroll-chaining: none;
16 | overscroll-behavior: none;
17 | padding: 0;
18 | touch-action: pinch-zoom;
19 | width: 100%;
20 | }
21 | .tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle {
22 | display: none;
23 | }
24 | .tox.tox-tinymce.tox-fullscreen,
25 | .tox-shadowhost.tox-fullscreen {
26 | left: 0;
27 | position: fixed;
28 | top: 0;
29 | z-index: 1200;
30 | }
31 | .tox.tox-tinymce.tox-fullscreen {
32 | background-color: transparent;
33 | }
34 | .tox-fullscreen .tox.tox-tinymce-aux,
35 | .tox-fullscreen ~ .tox.tox-tinymce-aux {
36 | z-index: 1201;
37 | }
38 |
--------------------------------------------------------------------------------
/vue-cli/use_import/public/tinymce/skins/ui/oxide/skin.shadowdom.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body.tox-dialog__disable-scroll {
8 | overflow: hidden;
9 | }
10 | .tox-fullscreen {
11 | border: 0;
12 | height: 100%;
13 | margin: 0;
14 | overflow: hidden;
15 | -ms-scroll-chaining: none;
16 | overscroll-behavior: none;
17 | padding: 0;
18 | touch-action: pinch-zoom;
19 | width: 100%;
20 | }
21 | .tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle {
22 | display: none;
23 | }
24 | .tox.tox-tinymce.tox-fullscreen,
25 | .tox-shadowhost.tox-fullscreen {
26 | left: 0;
27 | position: fixed;
28 | top: 0;
29 | z-index: 1200;
30 | }
31 | .tox.tox-tinymce.tox-fullscreen {
32 | background-color: transparent;
33 | }
34 | .tox-fullscreen .tox.tox-tinymce-aux,
35 | .tox-fullscreen ~ .tox.tox-tinymce-aux {
36 | z-index: 1201;
37 | }
38 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body.tox-dialog__disable-scroll {
8 | overflow: hidden;
9 | }
10 | .tox-fullscreen {
11 | border: 0;
12 | height: 100%;
13 | margin: 0;
14 | overflow: hidden;
15 | -ms-scroll-chaining: none;
16 | overscroll-behavior: none;
17 | padding: 0;
18 | touch-action: pinch-zoom;
19 | width: 100%;
20 | }
21 | .tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle {
22 | display: none;
23 | }
24 | .tox.tox-tinymce.tox-fullscreen,
25 | .tox-shadowhost.tox-fullscreen {
26 | left: 0;
27 | position: fixed;
28 | top: 0;
29 | z-index: 1200;
30 | }
31 | .tox.tox-tinymce.tox-fullscreen {
32 | background-color: transparent;
33 | }
34 | .tox-fullscreen .tox.tox-tinymce-aux,
35 | .tox-fullscreen ~ .tox.tox-tinymce-aux {
36 | z-index: 1201;
37 | }
38 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/content/document/content.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | @media screen{html{background:#f4f4f4;min-height:100%}}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif}@media screen{body{background-color:#fff;box-shadow:0 0 4px rgba(0,0,0,.15);box-sizing:border-box;margin:1rem auto 0;max-width:820px;min-height:calc(100vh - 1rem);padding:4rem 6rem 6rem 6rem}}table{border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}figure figcaption{color:#999;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
8 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 packy
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/vue-cli/use_import/src/main.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import App from './App.vue'
3 | import tinymce from 'tinymce'
4 | import VueTinymce from '@packy-tang/vue-tinymce'
5 |
6 | //样式
7 | // import "tinymce/skins/content/default/content.min.css"; //默认模式下添加并不会起效果,开启内联模式时,请加上。
8 | import 'tinymce/skins/ui/oxide/skin.min.css'
9 | // import 'tinymce/skins/ui/oxide/content.min.css' //此处引用内容为编辑器文本区域的内部样式,需在编辑器设置中引入。
10 |
11 | //主题
12 | import 'tinymce/themes/silver'
13 |
14 | //插件
15 | import 'tinymce/plugins/link' //链接插件
16 | import 'tinymce/plugins/image' //图片插件
17 | import 'tinymce/plugins/media' //媒体插件
18 | import 'tinymce/plugins/table' //表格插件
19 | import 'tinymce/plugins/lists' //列表插件
20 | import 'tinymce/plugins/quickbars' //快速栏插件
21 | import 'tinymce/plugins/fullscreen' //全屏插件
22 |
23 | /**
24 | * 注:
25 | * 5.3.x版本需要额外引进图标,没有所有按钮就会显示not found
26 | */
27 | import 'tinymce/icons/default/icons'
28 |
29 | //本地化
30 | import './utils/tinymce/langs/zh_CN.js'
31 |
32 | Vue.prototype.$tinymce = tinymce
33 | Vue.use(VueTinymce)
34 |
35 | Vue.config.productionTip = false
36 |
37 | new Vue({
38 | render: h => h(App),
39 | }).$mount('#app')
40 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/content/dark/content.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body{background-color:#2f3742;color:#dfe0e4;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}a{color:#4099ff}table{border-collapse:collapse}table td,table th{border:1px solid #6d737b;padding:.4rem}figure{display:table;margin:1rem auto}figure figcaption{color:#8a8f97;display:block;margin-top:.25rem;text-align:center}hr{border-color:#6d737b;border-style:solid;border-width:1px 0 0 0}code{background-color:#6d737b;border-radius:3px;padding:.1rem .2rem}td[data-mce-selected],th[data-mce-selected]{color:#333}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #6d737b;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #6d737b;margin-right:1.5rem;padding-right:1rem}
8 |
--------------------------------------------------------------------------------
/vite/use_import/src/main.js:
--------------------------------------------------------------------------------
1 | import Vue from "vue";
2 | import App from "./App.vue";
3 | import router from "./router";
4 |
5 | import "tinymce";
6 | //样式
7 | // import "tinymce/skins/content/default/content.min.css"; //默认模式下添加并不会起效果,开启内联模式时,请加上。
8 | import "tinymce/skins/ui/oxide/skin.min.css";
9 | // import "tinymce/skins/ui/oxide/content.min.css"; //此处引用内容为编辑器文本区域的内部样式,需在编辑器设置中引入。
10 |
11 | //主题
12 | import "tinymce/themes/silver";
13 |
14 | //插件
15 | import "tinymce/plugins/link"; //链接插件
16 | import "tinymce/plugins/image"; //图片插件
17 | import "tinymce/plugins/media"; //媒体插件
18 | import "tinymce/plugins/table"; //表格插件
19 | import "tinymce/plugins/lists"; //列表插件
20 | import "tinymce/plugins/quickbars"; //快速栏插件
21 | import "tinymce/plugins/fullscreen"; //全屏插件
22 |
23 | /**
24 | * 注:
25 | * 5.3.x版本需要额外引进图标,没有所有按钮就会显示not found
26 | */
27 | import "tinymce/icons/default/icons";
28 |
29 | //本地化
30 | import "./utils/tinymce/langs/zh_CN.js";
31 |
32 | import TinymceVue from "@tinymce/tinymce-vue";
33 | Vue.component("TinymceVue", TinymceVue);
34 |
35 | Vue.config.productionTip = false;
36 |
37 | new Vue({
38 | router,
39 | render: (h) => h(App),
40 | }).$mount("#app");
41 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/code/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("code",function(e){var t,o;function n(){return o.execCommand("mceCodeEditor")}return(t=e).addCommand("mceCodeEditor",function(){var n,e;e=(n=t).getContent({source_view:!0}),n.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:e},onSubmit:function(e){var t=n,o=e.getData().code;t.focus(),t.undoManager.transact(function(){t.setContent(o)}),t.selection.setCursorLocation(),t.nodeChanged(),e.close()}})}),(o=e).ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:n}),o.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:n}),{}})}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/code/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(o){var e=o.getContent({source_view:!0});o.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:e},onSubmit:function(e){var t,n;t=o,n=e.getData().code,t.focus(),t.undoManager.transact(function(){t.setContent(n)}),t.selection.setCursorLocation(),t.nodeChanged(),e.close()}})};!function t(){e.add("code",function(e){var t,n;return(t=e).addCommand("mceCodeEditor",function(){o(t)}),(n=e).ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:function(){return o(n)}}),n.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:function(){return o(n)}}),{}})}()}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/content/default/content.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body {
8 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
9 | line-height: 1.4;
10 | margin: 1rem;
11 | }
12 | table {
13 | border-collapse: collapse;
14 | }
15 | table th,
16 | table td {
17 | border: 1px solid #ccc;
18 | padding: 0.4rem;
19 | }
20 | figure {
21 | display: table;
22 | margin: 1rem auto;
23 | }
24 | figure figcaption {
25 | color: #999;
26 | display: block;
27 | margin-top: 0.25rem;
28 | text-align: center;
29 | }
30 | hr {
31 | border-color: #ccc;
32 | border-style: solid;
33 | border-width: 1px 0 0 0;
34 | }
35 | code {
36 | background-color: #e8e8e8;
37 | border-radius: 3px;
38 | padding: 0.1rem 0.2rem;
39 | }
40 | .mce-content-body:not([dir=rtl]) blockquote {
41 | border-left: 2px solid #ccc;
42 | margin-left: 1.5rem;
43 | padding-left: 1rem;
44 | }
45 | .mce-content-body[dir=rtl] blockquote {
46 | border-right: 2px solid #ccc;
47 | margin-right: 1.5rem;
48 | padding-right: 1rem;
49 | }
50 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/content/writer/content.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body {
8 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
9 | line-height: 1.4;
10 | margin: 1rem auto;
11 | max-width: 900px;
12 | }
13 | table {
14 | border-collapse: collapse;
15 | }
16 | table th,
17 | table td {
18 | border: 1px solid #ccc;
19 | padding: 0.4rem;
20 | }
21 | figure {
22 | display: table;
23 | margin: 1rem auto;
24 | }
25 | figure figcaption {
26 | color: #999;
27 | display: block;
28 | margin-top: 0.25rem;
29 | text-align: center;
30 | }
31 | hr {
32 | border-color: #ccc;
33 | border-style: solid;
34 | border-width: 1px 0 0 0;
35 | }
36 | code {
37 | background-color: #e8e8e8;
38 | border-radius: 3px;
39 | padding: 0.1rem 0.2rem;
40 | }
41 | .mce-content-body:not([dir=rtl]) blockquote {
42 | border-left: 2px solid #ccc;
43 | margin-left: 1.5rem;
44 | padding-left: 1rem;
45 | }
46 | .mce-content-body[dir=rtl] blockquote {
47 | border-right: 2px solid #ccc;
48 | margin-right: 1.5rem;
49 | padding-right: 1rem;
50 | }
51 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/hr/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | (function () {
10 | 'use strict';
11 |
12 | var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | var register$1 = function (editor) {
15 | editor.addCommand('InsertHorizontalRule', function () {
16 | editor.execCommand('mceInsertContent', false, ' ');
17 | });
18 | };
19 |
20 | var register = function (editor) {
21 | var onAction = function () {
22 | return editor.execCommand('InsertHorizontalRule');
23 | };
24 | editor.ui.registry.addButton('hr', {
25 | icon: 'horizontal-rule',
26 | tooltip: 'Horizontal line',
27 | onAction: onAction
28 | });
29 | editor.ui.registry.addMenuItem('hr', {
30 | icon: 'horizontal-rule',
31 | text: 'Horizontal line',
32 | onAction: onAction
33 | });
34 | };
35 |
36 | function Plugin () {
37 | global.add('hr', function (editor) {
38 | register$1(editor);
39 | register(editor);
40 | });
41 | }
42 |
43 | Plugin();
44 |
45 | }());
46 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/visualblocks/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";function f(t,o,e){var n,i;t.dom.toggleClass(t.getBody(),"mce-visualblocks"),e.set(!e.get()),n=t,i=e.get(),n.fire("VisualBlocks",{state:i})}function g(e,n){return function(o){function t(t){return o.setActive(t.state)}return o.setActive(n.get()),e.on("VisualBlocks",t),function(){return e.off("VisualBlocks",t)}}}tinymce.util.Tools.resolve("tinymce.PluginManager").add("visualblocks",function(t,o){var e,n,i,s,c,u,l,a=(e=!1,{get:function(){return e},set:function(t){e=t}});function r(){return s.execCommand("mceVisualBlocks")}i=a,(n=t).addCommand("mceVisualBlocks",function(){f(n,0,i)}),(s=t).ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:r,onSetup:g(s,c=a)}),s.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",icon:"visualblocks",onAction:r,onSetup:g(s,c)}),l=a,(u=t).on("PreviewFormats AfterPreviewFormats",function(t){l.get()&&u.dom.toggleClass(u.getBody(),"mce-visualblocks","afterpreviewformats"===t.type)}),u.on("init",function(){u.getParam("visualblocks_default_state",!1,"boolean")&&f(u,0,l)})})}();
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/nonbreaking/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";function o(n,e){for(var a="",o=0;o'+o(" ",e)+"":o(" ",e);n.undoManager.transact(function(){return n.insertContent(a)})}var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=tinymce.util.Tools.resolve("tinymce.util.VK");n.add("nonbreaking",function(n){var e,a,o,t,i;function r(){return a.execCommand("mceNonBreaking")}(e=n).addCommand("mceNonBreaking",function(){s(e,1)}),(a=n).ui.registry.addButton("nonbreaking",{icon:"non-breaking",tooltip:"Nonbreaking space",onAction:r}),a.ui.registry.addMenuItem("nonbreaking",{icon:"non-breaking",text:"Nonbreaking space",onAction:r}),0<(i="boolean"==typeof(t=(o=n).getParam("nonbreaking_force_tab",0))?!0===t?3:0:t)&&o.on("keydown",function(n){n.keyCode!==c.TAB||n.isDefaultPrevented()||n.shiftKey||(n.preventDefault(),n.stopImmediatePropagation(),s(o,i))})})}();
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/content/default/content.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
8 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/content/writer/content.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem auto;max-width:900px}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
8 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/hr/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | (function () {
10 | 'use strict';
11 |
12 | var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | var register = function (editor) {
15 | editor.addCommand('InsertHorizontalRule', function () {
16 | editor.execCommand('mceInsertContent', false, ' ');
17 | });
18 | };
19 |
20 | var register$1 = function (editor) {
21 | editor.ui.registry.addButton('hr', {
22 | icon: 'horizontal-rule',
23 | tooltip: 'Horizontal line',
24 | onAction: function () {
25 | return editor.execCommand('InsertHorizontalRule');
26 | }
27 | });
28 | editor.ui.registry.addMenuItem('hr', {
29 | icon: 'horizontal-rule',
30 | text: 'Horizontal line',
31 | onAction: function () {
32 | return editor.execCommand('InsertHorizontalRule');
33 | }
34 | });
35 | };
36 |
37 | function Plugin () {
38 | global.add('hr', function (editor) {
39 | register(editor);
40 | register$1(editor);
41 | });
42 | }
43 |
44 | Plugin();
45 |
46 | }());
47 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/content/dark/content.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body{background-color:#2f3742;color:#dfe0e4;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}a{color:#4099ff}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#6d737b}figure{display:table;margin:1rem auto}figure figcaption{color:#8a8f97;display:block;margin-top:.25rem;text-align:center}hr{border-color:#6d737b;border-style:solid;border-width:1px 0 0 0}code{background-color:#6d737b;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #6d737b;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #6d737b;margin-right:1.5rem;padding-right:1rem}
8 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/nonbreaking/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | !function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(n,e){for(var a="",o=0;o'+i(" ",e)+"":i(" ",e);n.undoManager.transact(function(){return n.insertContent(o)})},c=tinymce.util.Tools.resolve("tinymce.util.VK");!function e(){n.add("nonbreaking",function(n){var e,a,o,i,t;(e=n).addCommand("mceNonBreaking",function(){r(e,1)}),(a=n).ui.registry.addButton("nonbreaking",{icon:"non-breaking",tooltip:"Nonbreaking space",onAction:function(){return a.execCommand("mceNonBreaking")}}),a.ui.registry.addMenuItem("nonbreaking",{icon:"non-breaking",text:"Nonbreaking space",onAction:function(){return a.execCommand("mceNonBreaking")}}),0<(t="boolean"==typeof(i=(o=n).getParam("nonbreaking_force_tab",0))?!0===i?3:0:i)&&o.on("keydown",function(n){if(n.keyCode===c.TAB&&!n.isDefaultPrevented()){if(n.shiftKey)return;n.preventDefault(),n.stopImmediatePropagation(),r(o,t)}})})}()}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/content/document/content.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | @media screen {
8 | html {
9 | background: #f4f4f4;
10 | min-height: 100%;
11 | }
12 | }
13 | body {
14 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
15 | }
16 | @media screen {
17 | body {
18 | background-color: #fff;
19 | box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
20 | box-sizing: border-box;
21 | margin: 1rem auto 0;
22 | max-width: 820px;
23 | min-height: calc(100vh - 1rem);
24 | padding: 4rem 6rem 6rem 6rem;
25 | }
26 | }
27 | table {
28 | border-collapse: collapse;
29 | }
30 | table th,
31 | table td {
32 | border: 1px solid #ccc;
33 | padding: 0.4rem;
34 | }
35 | figure figcaption {
36 | color: #999;
37 | margin-top: 0.25rem;
38 | text-align: center;
39 | }
40 | hr {
41 | border-color: #ccc;
42 | border-style: solid;
43 | border-width: 1px 0 0 0;
44 | }
45 | .mce-content-body:not([dir=rtl]) blockquote {
46 | border-left: 2px solid #ccc;
47 | margin-left: 1.5rem;
48 | padding-left: 1rem;
49 | }
50 | .mce-content-body[dir=rtl] blockquote {
51 | border-right: 2px solid #ccc;
52 | margin-right: 1.5rem;
53 | padding-right: 1rem;
54 | }
55 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/content/document/content.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | @media screen{html{background:#f4f4f4;min-height:100%}}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif}@media screen{body{background-color:#fff;box-shadow:0 0 4px rgba(0,0,0,.15);box-sizing:border-box;margin:1rem auto 0;max-width:820px;min-height:calc(100vh - 1rem);padding:4rem 6rem 6rem 6rem}}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure figcaption{color:#999;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # vue-tinymce-example
2 |
3 | 在vue中使用tinymce的例子 📖
4 |
5 | ## 🎙 介绍
6 |
7 | 这个例子提供给各位想在项目中使用tinymce的伙计。
8 |
9 | 例子主要分为两个大类:
10 |
11 | 1. 按需引用(use import):使用import的方式引用tinymce项目,最终经过webpack打包至项目内部。
12 | 2. 全局挂载(use in global):使用tinymce优秀的插件懒加载功能,tinymce将会以外挂的方式应用至项目。
13 |
14 | 两种方式任君选择,如何选可以继续阅读下面详情,不想看可以直接下载项目跑起来看看再做选择。
15 |
16 | ### 按需引用
17 |
18 | 按需引用能帮你彻底隐藏tinymce,它将被完整地打包至项目。自然其缺点就是打包后文件巨大的体积将会成为一个问题。
19 |
20 | > 主题和插件请仔细引用,因为少了漏了功能就会缺失。
21 |
22 | 选择你的项目:
23 |
24 | - [vue-cli](./vue-cli/use_import/README.md)
25 | - [vite](./vite/use_import/README.md)
26 |
27 | ### 全局挂载
28 |
29 | 全局挂载的方式可以说是非常便利,一次设置无需管理。当然,后续你将要面对tinymce代码外露和全局作用等风险。
30 |
31 | > 这种方式只推荐内部系统使用,防不了小人提防君子还是要的。
32 |
33 | 选择你的项目:
34 |
35 | - [vue-cli](./vue-cli/use_in_global/README.md)
36 | - [vite](./vite/use_in_global/README.md)
37 |
38 | ---
39 |
40 | ## 💡 学习资料
41 |
42 | 遇到问题建议先看下面网站提供的资料:
43 |
44 | - [tinymce官网 🔗](https://www.tiny.cloud/)
45 | - [tinymce中文文档 🔗](http://tinymce.ax-z.cn/)
46 |
47 | 不行再加群咨询:
48 |
49 | - [TinyMCE 兔 - 🐧QQ:818515594](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=PgGRhqxxZT6m8aYvKYiykAHHDP88YCsO&authKey=8QKYsVBaMhtJMKrTLx2Y8swaz5D5Ne3fa68ZfsiKTA2dQYwxyi8ACvqDCqIu68k3&noverify=0&group_code=818515594)
50 | - [富文本研究交流 - 🐧QQ:835359038](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=5Np7JOEc1NJ0onDCLd1BZH_1jJt5HupL&authKey=KbkiZWricvo%2FsocFaqc33cQHLkfEzcv79L6akK0t1QaY3rgKTqyxnjYp2AVvh0vw&noverify=0&group_code=835359038)
51 |
52 | ---
53 |
54 | 对tinymce的vue封装想深入了解的,可以看我制作的组件源码🔬:
55 |
56 | > [@packy-tang/vue-tinymce](https://github.com/lpreterite/vue-tinymce)
57 |
58 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/visualblocks/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | !function(){"use strict";var o=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=function(o,t,e){var n,s;o.dom.toggleClass(o.getBody(),"mce-visualblocks"),e.set(!e.get()),n=o,s=e.get(),n.fire("VisualBlocks",{state:s})},m=function(e,n){return function(t){t.setActive(n.get());var o=function(o){return t.setActive(o.state)};return e.on("VisualBlocks",o),function(){return e.off("VisualBlocks",o)}}};!function t(){o.add("visualblocks",function(o,t){var e,n,s,i,c,u,l,a=(e=!1,{get:function(){return e},set:function(o){e=o}});s=a,(n=o).addCommand("mceVisualBlocks",function(){r(n,0,s)}),c=a,(i=o).ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:function(){return i.execCommand("mceVisualBlocks")},onSetup:m(i,c)}),i.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",icon:"visualblocks",onAction:function(){return i.execCommand("mceVisualBlocks")},onSetup:m(i,c)}),l=a,(u=o).on("PreviewFormats AfterPreviewFormats",function(o){l.get()&&u.dom.toggleClass(u.getBody(),"mce-visualblocks","afterpreviewformats"===o.type)}),u.on("init",function(){u.getParam("visualblocks_default_state",!1,"boolean")&&r(u,0,l)}),u.on("remove",function(){u.dom.removeClass(u.getBody(),"mce-visualblocks")})})}()}();
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/print/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | (function () {
10 | 'use strict';
11 |
12 | var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | var global = tinymce.util.Tools.resolve('tinymce.Env');
15 |
16 | var register$1 = function (editor) {
17 | editor.addCommand('mcePrint', function () {
18 | if (global.browser.isIE()) {
19 | editor.getDoc().execCommand('print', false, null);
20 | } else {
21 | editor.getWin().print();
22 | }
23 | });
24 | };
25 |
26 | var register = function (editor) {
27 | var onAction = function () {
28 | return editor.execCommand('mcePrint');
29 | };
30 | editor.ui.registry.addButton('print', {
31 | icon: 'print',
32 | tooltip: 'Print',
33 | onAction: onAction
34 | });
35 | editor.ui.registry.addMenuItem('print', {
36 | text: 'Print...',
37 | icon: 'print',
38 | onAction: onAction
39 | });
40 | };
41 |
42 | function Plugin () {
43 | global$1.add('print', function (editor) {
44 | register$1(editor);
45 | register(editor);
46 | editor.addShortcut('Meta+P', '', 'mcePrint');
47 | });
48 | }
49 |
50 | Plugin();
51 |
52 | }());
53 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/skins/content/dark/content.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body {
8 | background-color: #2f3742;
9 | color: #dfe0e4;
10 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
11 | line-height: 1.4;
12 | margin: 1rem;
13 | }
14 | a {
15 | color: #4099ff;
16 | }
17 | table {
18 | border-collapse: collapse;
19 | }
20 | table th,
21 | table td {
22 | border: 1px solid #6d737b;
23 | padding: 0.4rem;
24 | }
25 | figure {
26 | display: table;
27 | margin: 1rem auto;
28 | }
29 | figure figcaption {
30 | color: #8a8f97;
31 | display: block;
32 | margin-top: 0.25rem;
33 | text-align: center;
34 | }
35 | hr {
36 | border-color: #6d737b;
37 | border-style: solid;
38 | border-width: 1px 0 0 0;
39 | }
40 | code {
41 | background-color: #6d737b;
42 | border-radius: 3px;
43 | padding: 0.1rem 0.2rem;
44 | }
45 | /* Make text in selected cells in tables dark and readable */
46 | td[data-mce-selected],
47 | th[data-mce-selected] {
48 | color: #333;
49 | }
50 | .mce-content-body:not([dir=rtl]) blockquote {
51 | border-left: 2px solid #6d737b;
52 | margin-left: 1.5rem;
53 | padding-left: 1rem;
54 | }
55 | .mce-content-body[dir=rtl] blockquote {
56 | border-right: 2px solid #6d737b;
57 | margin-right: 1.5rem;
58 | padding-right: 1rem;
59 | }
60 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/print/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | (function () {
10 | 'use strict';
11 |
12 | var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | var global$1 = tinymce.util.Tools.resolve('tinymce.Env');
15 |
16 | var register = function (editor) {
17 | editor.addCommand('mcePrint', function () {
18 | if (global$1.browser.isIE()) {
19 | editor.getDoc().execCommand('print', false, null);
20 | } else {
21 | editor.getWin().print();
22 | }
23 | });
24 | };
25 |
26 | var register$1 = function (editor) {
27 | editor.ui.registry.addButton('print', {
28 | icon: 'print',
29 | tooltip: 'Print',
30 | onAction: function () {
31 | return editor.execCommand('mcePrint');
32 | }
33 | });
34 | editor.ui.registry.addMenuItem('print', {
35 | text: 'Print...',
36 | icon: 'print',
37 | onAction: function () {
38 | return editor.execCommand('mcePrint');
39 | }
40 | });
41 | };
42 |
43 | function Plugin () {
44 | global.add('print', function (editor) {
45 | register(editor);
46 | register$1(editor);
47 | editor.addShortcut('Meta+P', '', 'mcePrint');
48 | });
49 | }
50 |
51 | Plugin();
52 |
53 | }());
54 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/pagebreak/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";function u(e){return e.getParam("pagebreak_split_block",!1)}function l(e){var a=' ';return e?""+a+"
":a}var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=tinymce.util.Tools.resolve("tinymce.Env"),m="mce-pagebreak";e.add("pagebreak",function(e){var a,n,o,i,t,r;function c(){return n.execCommand("mcePageBreak")}function g(){return u(o)}(a=e).addCommand("mcePageBreak",function(){a.insertContent(l(u(a)))}),(n=e).ui.registry.addButton("pagebreak",{icon:"page-break",tooltip:"Page break",onAction:c}),n.ui.registry.addMenuItem("pagebreak",{text:"Page break",icon:"page-break",onAction:c}),i=(o=e).getParam("pagebreak_separator","\x3c!-- pagebreak --\x3e"),t=new RegExp(i.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(e){return"\\"+e}),"gi"),o.on("BeforeSetContent",function(e){e.content=e.content.replace(t,l(g()))}),o.on("PreInit",function(){o.serializer.addNodeFilter("img",function(e){for(var a,n,t,r=e.length;r--;)(t=(n=e[r]).attr("class"))&&-1!==t.indexOf(m)&&(a=n.parent,o.schema.getBlockElements()[a.name]&&g()?(a.type=3,a.value=i,a.raw=!0,n.remove()):(n.type=3,n.value=i,n.raw=!0))})}),(r=e).on("ResolveName",function(e){"IMG"===e.target.nodeName&&r.dom.hasClass(e.target,m)&&(e.name="pagebreak")})})}();
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/save/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";function o(e){return e.getParam("save_enablewhendirty",!0)}function a(e,n){e.notificationManager.open({text:n,type:"error"})}function t(t){t.addCommand("mceSave",function(){!function(e){var n=c.DOM.getParent(e.id,"form");if(!o(e)||e.isDirty()){if(e.save(),e.getParam("save_onsavecallback"))return e.execCallback("save_onsavecallback",e),e.nodeChanged();n?(e.setDirty(!1),n.onsubmit&&!n.onsubmit()||("function"==typeof n.submit?n.submit():a(e,"Error: Form submit field collision.")),e.nodeChanged()):a(e,"Error: No form element found.")}}(t)}),t.addCommand("mceCancel",function(){var e=t,n=r.trim(e.startContent);e.getParam("save_oncancelcallback")?e.execCallback("save_oncancelcallback",e):e.resetContent(n)})}function i(t){return function(e){function n(){e.setDisabled(o(t)&&!t.isDirty())}return n(),t.on("NodeChange dirty",n),function(){return t.off("NodeChange dirty",n)}}}var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),r=tinymce.util.Tools.resolve("tinymce.util.Tools");e.add("save",function(e){var n;(n=e).ui.registry.addButton("save",{icon:"save",tooltip:"Save",disabled:!0,onAction:function(){return n.execCommand("mceSave")},onSetup:i(n)}),n.ui.registry.addButton("cancel",{icon:"cancel",tooltip:"Cancel",disabled:!0,onAction:function(){return n.execCommand("mceCancel")},onSetup:i(n)}),n.addShortcut("Meta+S","","mceSave"),t(e)})}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/pagebreak/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.Env"),c=function(){return"mce-pagebreak"},g=function(){return' '};!function n(){e.add("pagebreak",function(e){var a,n,o,i,t,r;(a=e).addCommand("mcePageBreak",function(){a.settings.pagebreak_split_block?a.insertContent(""+g()+"
"):a.insertContent(g())}),(n=e).ui.registry.addButton("pagebreak",{icon:"page-break",tooltip:"Page break",onAction:function(){return n.execCommand("mcePageBreak")}}),n.ui.registry.addMenuItem("pagebreak",{text:"Page break",icon:"page-break",onAction:function(){return n.execCommand("mcePageBreak")}}),i=(o=e).getParam("pagebreak_separator","\x3c!-- pagebreak --\x3e"),t=new RegExp(i.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(e){return"\\"+e}),"gi"),o.on("BeforeSetContent",function(e){e.content=e.content.replace(t,g())}),o.on("PreInit",function(){o.serializer.addNodeFilter("img",function(e){for(var a,n,t=e.length;t--;)if((n=(a=e[t]).attr("class"))&&-1!==n.indexOf("mce-pagebreak")){var r=a.parent;if(o.schema.getBlockElements()[r.name]&&o.getParam("pagebreak_split_block",!1)){r.type=3,r.value=i,r.raw=!0,a.remove();continue}a.type=3,a.value=i,a.raw=!0}})}),(r=e).on("ResolveName",function(e){"IMG"===e.target.nodeName&&r.dom.hasClass(e.target,c())&&(e.name="pagebreak")})})}()}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/save/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),a=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(e){return e.getParam("save_enablewhendirty",!0)},c=function(e,n){e.notificationManager.open({text:n,type:"error"})},t=function(t){t.addCommand("mceSave",function(){!function(e){var n;if(n=o.DOM.getParent(e.id,"form"),!i(e)||e.isDirty()){if(e.save(),e.getParam("save_onsavecallback"))return e.execCallback("save_onsavecallback",e),e.nodeChanged();n?(e.setDirty(!1),n.onsubmit&&!n.onsubmit()||("function"==typeof n.submit?n.submit():c(e,"Error: Form submit field collision.")),e.nodeChanged()):c(e,"Error: No form element found.")}}(t)}),t.addCommand("mceCancel",function(){var e,n;e=t,n=a.trim(e.startContent),e.getParam("save_oncancelcallback")?e.execCallback("save_oncancelcallback",e):e.resetContent(n)})},r=function(t){return function(e){var n=function(){e.setDisabled(i(t)&&!t.isDirty())};return t.on("NodeChange dirty",n),function(){return t.off("NodeChange dirty",n)}}};!function n(){e.add("save",function(e){var n;(n=e).ui.registry.addButton("save",{icon:"save",tooltip:"Save",disabled:!0,onAction:function(){return n.execCommand("mceSave")},onSetup:r(n)}),n.ui.registry.addButton("cancel",{icon:"cancel",tooltip:"Cancel",disabled:!0,onAction:function(){return n.execCommand("mceCancel")},onSetup:r(n)}),n.addShortcut("Meta+S","","mceSave"),t(e)})}()}();
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/noneditable/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";function l(t){return t.getParam("noneditable_noneditable_class","mceNonEditable")}function u(e){return function(t){return-1!==(" "+t.attr("class")+" ").indexOf(e)}}function e(e){var t,r="contenteditable",n=" "+f.trim(e.getParam("noneditable_editable_class","mceEditable"))+" ",a=" "+f.trim(l(e))+" ",i=u(n),o=u(a),c=(t=e.getParam("noneditable_regexp",[]))&&t.constructor===RegExp?[t]:t;e.on("PreInit",function(){0"===r){var a=o.lastIndexOf("<",n);if(-1!==a&&-1!==o.substring(a,n).indexOf('contenteditable="false"'))return t}return''+i.dom.encode("string"==typeof e[1]?e[1]:e[0])+" "}}(t,a,l(t)));n.content=a}}(e,c,t)}),e.parser.addAttributeFilter("class",function(t){for(var e,n=t.length;n--;)e=t[n],i(e)?e.attr(r,"true"):o(e)&&e.attr(r,"false")}),e.serializer.addAttributeFilter(r,function(t){for(var e,n=t.length;n--;)e=t[n],(i(e)||o(e))&&(0"===r){var a=o.lastIndexOf("<",e);if(-1!==a)if(-1!==o.substring(a,e).indexOf('contenteditable="false"'))return t}return''+i.dom.encode("string"==typeof n[1]?n[1]:n[0])+" "}},n=function(n){var t,e,r="contenteditable";t=" "+l.trim(n.getParam("noneditable_editable_class","mceEditable"))+" ",e=" "+l.trim(u(n))+" ";var a,i=f(t),o=f(e),c=(a=n.getParam("noneditable_regexp",[]))&&a.constructor===RegExp?[a]:a;n.on("PreInit",function(){0';var o=t.getParam("content_css_cors",!1,"boolean")?' crossorigin="anonymous"':"";w.each(t.contentCSS,function(e){n+=' "}),e&&(n+='");var a,r,s,c,d,l,m,y=-1===(c=(a=t).getParam("body_id","tinymce","string")).indexOf("=")?c:(s=(r=a).getParam("body_id","","hash"))[r.id]||s,u=-1===(m=(d=t).getParam("body_class","","string")).indexOf("=")?m:(l=d).getParam("body_class","","hash")[l.id]||"",v='
40 |
41 |
42 |
58 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/src/components/HelloWorld.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
{{ msg }}
4 |
5 | For a guide and recipes on how to configure / customize this project,
6 | check out the
7 | vue-cli documentation .
8 |
9 |
Installed CLI Plugins
10 |
13 |
Essential Links
14 |
21 |
Ecosystem
22 |
29 |
30 |
31 |
32 |
40 |
41 |
42 |
58 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/skins/content/default/content.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | */
7 | body {
8 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
9 | line-height: 1.4;
10 | margin: 1rem;
11 | }
12 | table {
13 | border-collapse: collapse;
14 | }
15 | /* Apply a default padding if legacy cellpadding attribute is missing */
16 | table:not([cellpadding]) th,
17 | table:not([cellpadding]) td {
18 | padding: 0.4rem;
19 | }
20 | /* Set default table styles if a table has a positive border attribute
21 | and no inline css */
22 | table[border]:not([border="0"]):not([style*="border-width"]) th,
23 | table[border]:not([border="0"]):not([style*="border-width"]) td {
24 | border-width: 1px;
25 | }
26 | /* Set default table styles if a table has a positive border attribute
27 | and no inline css */
28 | table[border]:not([border="0"]):not([style*="border-style"]) th,
29 | table[border]:not([border="0"]):not([style*="border-style"]) td {
30 | border-style: solid;
31 | }
32 | /* Set default table styles if a table has a positive border attribute
33 | and no inline css */
34 | table[border]:not([border="0"]):not([style*="border-color"]) th,
35 | table[border]:not([border="0"]):not([style*="border-color"]) td {
36 | border-color: #ccc;
37 | }
38 | figure {
39 | display: table;
40 | margin: 1rem auto;
41 | }
42 | figure figcaption {
43 | color: #999;
44 | display: block;
45 | margin-top: 0.25rem;
46 | text-align: center;
47 | }
48 | hr {
49 | border-color: #ccc;
50 | border-style: solid;
51 | border-width: 1px 0 0 0;
52 | }
53 | code {
54 | background-color: #e8e8e8;
55 | border-radius: 3px;
56 | padding: 0.1rem 0.2rem;
57 | }
58 | .mce-content-body:not([dir=rtl]) blockquote {
59 | border-left: 2px solid #ccc;
60 | margin-left: 1.5rem;
61 | padding-left: 1rem;
62 | }
63 | .mce-content-body[dir=rtl] blockquote {
64 | border-right: 2px solid #ccc;
65 | margin-right: 1.5rem;
66 | padding-right: 1rem;
67 | }
68 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/autoresize/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),h=tinymce.util.Tools.resolve("tinymce.Env"),r=tinymce.util.Tools.resolve("tinymce.util.Delay"),v=function(e){return e.getParam("min_height",e.getElement().offsetHeight,"number")},s=function(e,t,n,i,o){r.setEditorTimeout(e,function(){b(e,t),n--?s(e,t,n,i,o):o&&o()},i)},y=function(e,t){var n=e.getBody();n&&(n.style.overflowY=t?"":"hidden",t||(n.scrollTop=0))},p=function(e,t,n,i){var o=parseInt(e.getStyle(t,n,i),10);return isNaN(o)?0:o},b=function(e,t){var n,i,o,r=e.dom,a=e.getDoc();if(a)if((s=e).plugins.fullscreen&&s.plugins.fullscreen.isFullscreen())y(e,!0);else{var s,u=a.documentElement,g=e.getParam("autoresize_bottom_margin",50,"number");i=v(e);var l=p(r,u,"margin-top",!0),f=p(r,u,"margin-bottom",!0);(o=u.offsetHeight+l+f+g)<0&&(o=0);var c=e.getContainer().offsetHeight-e.getContentAreaContainer().offsetHeight;o+c>v(e)&&(i=o+c);var m=e.getParam("max_height",0,"number");if(m&&my(e)&&(r=l+u),(g=e.getParam("max_height",0,"number"))&&g
2 |
3 |
4 |
5 |
6 |
9 |
10 |
11 |
12 |
31 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/code/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | (function () {
10 | 'use strict';
11 |
12 | var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | var setContent = function (editor, html) {
15 | editor.focus();
16 | editor.undoManager.transact(function () {
17 | editor.setContent(html);
18 | });
19 | editor.selection.setCursorLocation();
20 | editor.nodeChanged();
21 | };
22 | var getContent = function (editor) {
23 | return editor.getContent({ source_view: true });
24 | };
25 |
26 | var open = function (editor) {
27 | var editorContent = getContent(editor);
28 | editor.windowManager.open({
29 | title: 'Source Code',
30 | size: 'large',
31 | body: {
32 | type: 'panel',
33 | items: [{
34 | type: 'textarea',
35 | name: 'code'
36 | }]
37 | },
38 | buttons: [
39 | {
40 | type: 'cancel',
41 | name: 'cancel',
42 | text: 'Cancel'
43 | },
44 | {
45 | type: 'submit',
46 | name: 'save',
47 | text: 'Save',
48 | primary: true
49 | }
50 | ],
51 | initialData: { code: editorContent },
52 | onSubmit: function (api) {
53 | setContent(editor, api.getData().code);
54 | api.close();
55 | }
56 | });
57 | };
58 |
59 | var register$1 = function (editor) {
60 | editor.addCommand('mceCodeEditor', function () {
61 | open(editor);
62 | });
63 | };
64 |
65 | var register = function (editor) {
66 | var onAction = function () {
67 | return editor.execCommand('mceCodeEditor');
68 | };
69 | editor.ui.registry.addButton('code', {
70 | icon: 'sourcecode',
71 | tooltip: 'Source code',
72 | onAction: onAction
73 | });
74 | editor.ui.registry.addMenuItem('code', {
75 | icon: 'sourcecode',
76 | text: 'Source code',
77 | onAction: onAction
78 | });
79 | };
80 |
81 | function Plugin () {
82 | global.add('code', function (editor) {
83 | register$1(editor);
84 | register(editor);
85 | return {};
86 | });
87 | }
88 |
89 | Plugin();
90 |
91 | }());
92 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/code/plugin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | (function () {
10 | 'use strict';
11 |
12 | var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
13 |
14 | var setContent = function (editor, html) {
15 | editor.focus();
16 | editor.undoManager.transact(function () {
17 | editor.setContent(html);
18 | });
19 | editor.selection.setCursorLocation();
20 | editor.nodeChanged();
21 | };
22 | var getContent = function (editor) {
23 | return editor.getContent({ source_view: true });
24 | };
25 |
26 | var open = function (editor) {
27 | var editorContent = getContent(editor);
28 | editor.windowManager.open({
29 | title: 'Source Code',
30 | size: 'large',
31 | body: {
32 | type: 'panel',
33 | items: [{
34 | type: 'textarea',
35 | name: 'code'
36 | }]
37 | },
38 | buttons: [
39 | {
40 | type: 'cancel',
41 | name: 'cancel',
42 | text: 'Cancel'
43 | },
44 | {
45 | type: 'submit',
46 | name: 'save',
47 | text: 'Save',
48 | primary: true
49 | }
50 | ],
51 | initialData: { code: editorContent },
52 | onSubmit: function (api) {
53 | setContent(editor, api.getData().code);
54 | api.close();
55 | }
56 | });
57 | };
58 |
59 | var register = function (editor) {
60 | editor.addCommand('mceCodeEditor', function () {
61 | open(editor);
62 | });
63 | };
64 |
65 | var register$1 = function (editor) {
66 | editor.ui.registry.addButton('code', {
67 | icon: 'sourcecode',
68 | tooltip: 'Source code',
69 | onAction: function () {
70 | return open(editor);
71 | }
72 | });
73 | editor.ui.registry.addMenuItem('code', {
74 | icon: 'sourcecode',
75 | text: 'Source code',
76 | onAction: function () {
77 | return open(editor);
78 | }
79 | });
80 | };
81 |
82 | function Plugin () {
83 | global.add('code', function (editor) {
84 | register(editor);
85 | register$1(editor);
86 | return {};
87 | });
88 | }
89 |
90 | Plugin();
91 |
92 | }());
93 |
--------------------------------------------------------------------------------
/vue-cli/use_in_global/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
9 |
10 |
11 |
12 |
31 |
32 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/anchor/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";function a(e){return e.getAttribute("id")||e.getAttribute("name")||""}function c(e){return e&&"a"===e.nodeName.toLowerCase()&&!e.getAttribute("href")&&""!==a(e)}function d(e){return e.dom.getParent(e.selection.getStart(),l)}function r(e,t){var o,a,n,r,i,l=d(e);l?(n=e,r=t,(i=l).removeAttribute("name"),i.id=r,n.addVisual(),n.undoManager.add()):(a=t,(o=e).undoManager.transact(function(){var e,n;o.getParam("allow_html_in_named_anchor",!1,"boolean")||o.selection.collapse(!0),o.selection.isCollapsed()?o.insertContent(o.dom.createHTML("a",{id:a})):(n=(e=o).dom,u(n).walk(e.selection.getRng(),function(e){s.each(e,function(e){var t;c(t=e)&&!t.firstChild&&n.remove(e,!1)})}),o.formatter.remove("namedAnchor",null,null,!0),o.formatter.apply("namedAnchor",{value:a}),o.addVisual())})),e.focus()}function i(r){return function(e){for(var t,n=0;n=(h="www.").length&&g.substr(0,0+h.length)===h?c=m+"://"+c:-1===c.indexOf("@")||/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(c)||(c="mailto:"+c),o=e.selection.getBookmark(),e.selection.setRng(d),e.execCommand("createlink",!1,c),!1!==s&&e.dom.setAttrib(e.selection.getNode(),"target",s),e.selection.moveToBookmark(o),e.nodeChanged())}}var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.Env"),A=new RegExp("^"+/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g.source+"$","i");e.add("autolink",function(e){var t,n;(t=e).on("keydown",function(e){if(13===e.keyCode)return r(t,-1)}),a.browser.isIE()?t.on("focus",function(){if(!n){n=!0;try{t.execCommand("AutoUrlDetect",!1,!0)}catch(e){}}}):(t.on("keypress",function(e){if(41===e.keyCode||93===e.keyCode||125===e.keyCode)return r(t,-1)}),t.on("keyup",function(e){if(32===e.keyCode)return r(t,0)}))})}();
--------------------------------------------------------------------------------
/vite/use_import/src/views/HomeView.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 |
10 |
11 |
12 |
13 |
37 |
--------------------------------------------------------------------------------
/vue-cli/use_import/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
9 |
10 |
11 |
12 |
33 |
34 |
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/autosave/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";function o(t,e){var r=t||e,n=/^(\d+)([ms]?)$/.exec(""+r);return(n[2]?{s:1e3,m:6e4}[n[2]]:1)*parseInt(r,10)}function n(t){var e=document.location;return t.getParam("autosave_prefix","tinymce-autosave-{path}{query}{hash}-{id}-").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)}function i(t,e){if(a(e))return t.dom.isEmpty(t.getBody());var r=d.trim(e);if(""===r)return!0;var n=(new DOMParser).parseFromString(r,"text/html");return t.dom.isEmpty(n)}function u(t){var e=parseInt(v.getItem(n(t)+"time"),10)||0;return!((new Date).getTime()-e>o(t.getParam("autosave_retention"),"20m")&&(g(t,!1),1))}function s(t){var e=n(t);!i(t)&&t.isDirty()&&(v.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),v.setItem(e+"time",(new Date).getTime().toString()),t.fire("StoreDraft"))}function f(t){var e=n(t);u(t)&&(t.setContent(v.getItem(e+"draft"),{format:"raw"}),t.fire("RestoreDraft"))}function c(t){t.undoManager.transact(function(){f(t),g(t)}),t.focus()}function m(r){return function(t){function e(){return t.setDisabled(!u(r))}return t.setDisabled(!u(r)),r.on("StoreDraft RestoreDraft RemoveDraft",e),function(){return r.off("StoreDraft RestoreDraft RemoveDraft",e)}}}var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=function(t){return void 0===t},l=tinymce.util.Tools.resolve("tinymce.util.Delay"),v=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),d=tinymce.util.Tools.resolve("tinymce.util.Tools"),g=function(t,e){var r=n(t);v.removeItem(r+"draft"),v.removeItem(r+"time"),!1!==e&&t.fire("RemoveDraft")},y=tinymce.util.Tools.resolve("tinymce.EditorManager");t.add("autosave",function(t){var e,r,n,a;return t.editorManager.on("BeforeUnload",function(t){var e;d.each(y.get(),function(t){t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&t.getParam("autosave_ask_before_unload",!0)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))}),e&&(t.preventDefault(),t.returnValue=e)}),n=e=t,a=o(n.getParam("autosave_interval"),"30s"),l.setEditorInterval(n,function(){s(n)},a),e.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:function(){c(e)},onSetup:m(e)}),e.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:function(){c(e)},onSetup:m(e)}),t.on("init",function(){t.getParam("autosave_restore_when_empty",!1)&&t.dom.isEmpty(t.getBody())&&f(t)}),r=t,{hasDraft:function(){return u(r)},storeDraft:function(){return s(r)},restoreDraft:function(){return f(r)},removeDraft:function(t){return g(r,t)},isEmpty:function(t){return i(r,t)}}})}();
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/legacyoutput/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=tinymce.util.Tools.resolve("tinymce.util.Tools");e.add("legacyoutput",function(e){var s,t;(t=s=e).settings.inline_styles=!1,t.getParam("fontsize_formats")||(t.settings.fontsize_formats="8pt=1 10pt=2 12pt=3 14pt=4 18pt=5 24pt=6 36pt=7"),t.getParam("font_formats")||(t.settings.font_formats="Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats"),s.on("PreInit",function(){var e=s,t="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table",i=l.explode(e.getParam("font_size_style_values","xx-small,x-small,small,medium,large,x-large,xx-large")),a=e.schema;e.formatter.register({alignleft:{selector:t,attributes:{align:"left"}},aligncenter:{selector:t,attributes:{align:"center"}},alignright:{selector:t,attributes:{align:"right"}},alignjustify:{selector:t,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all",preserve_attributes:["class","style"]},{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all",preserve_attributes:["class","style"]},{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{textDecoration:"underline"},exact:!0}],strikethrough:[{inline:"strike",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{textDecoration:"line-through"},exact:!0}],fontname:{inline:"font",toggle:!1,attributes:{face:"%value"}},fontsize:{inline:"font",toggle:!1,attributes:{size:function(e){return String(l.inArray(i,e.value)+1)}}},forecolor:{inline:"font",attributes:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0}}),l.each("b,i,u,strike".split(","),function(e){a.addValidElements(e+"[*]")}),a.getElementRule("font")||a.addValidElements("font[face|size|color|style]"),l.each(t.split(","),function(e){var t=a.getElementRule(e);t&&(t.attributes.align||(t.attributes.align={},t.attributesOrder.push("align")))})})})}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/autosave/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | !function(r){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=tinymce.util.Tools.resolve("tinymce.util.Delay"),o=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),a=tinymce.util.Tools.resolve("tinymce.util.Tools"),i=function(t,e){var r=t||e,n=/^(\d+)([ms]?)$/.exec(""+r);return(n[2]?{s:1e3,m:6e4}[n[2]]:1)*parseInt(r,10)},u=function(t){var e=r.document.location;return t.getParam("autosave_prefix","tinymce-autosave-{path}{query}{hash}-{id}-").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)},s=function(t,e){var r=t.settings.forced_root_block;return""===(e=a.trim(void 0===e?t.getBody().innerHTML:e))||new RegExp("^<"+r+"[^>]*>((\xa0| |[ \t]| ]*>)+?|)"+r+">| $","i").test(e)},f=function(t){var e=parseInt(o.getItem(u(t)+"time"),10)||0;return!((new Date).getTime()-e>i(t.settings.autosave_retention,"20m"))||(c(t,!1),!1)},c=function(t,e){var r=u(t);o.removeItem(r+"draft"),o.removeItem(r+"time"),!1!==e&&t.fire("RemoveDraft")},m=function(t){var e=u(t);!s(t)&&t.isDirty()&&(o.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),o.setItem(e+"time",(new Date).getTime().toString()),t.fire("StoreDraft"))},l=function(t){var e=u(t);f(t)&&(t.setContent(o.getItem(e+"draft"),{format:"raw"}),t.fire("RestoreDraft"))},v=function(t){var e=i(t.settings.autosave_interval,"30s");n.setInterval(function(){t.removed||m(t)},e)},d=function(t){t.undoManager.transact(function(){l(t),c(t)}),t.focus()},g=tinymce.util.Tools.resolve("tinymce.EditorManager"),y=function(r){return function(t){t.setDisabled(!f(r));var e=function(){return t.setDisabled(!f(r))};return r.on("StoreDraft RestoreDraft RemoveDraft",e),function(){return r.off("StoreDraft RestoreDraft RemoveDraft",e)}}};!function e(){t.add("autosave",function(t){var e,r;return t.editorManager.on("BeforeUnload",function(t){var e;a.each(g.get(),function(t){t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&t.getParam("autosave_ask_before_unload",!0)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))}),e&&(t.preventDefault(),t.returnValue=e)}),v(e=t),e.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:function(){d(e)},onSetup:y(e)}),e.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:function(){d(e)},onSetup:y(e)}),t.on("init",function(){t.getParam("autosave_restore_when_empty",!1)&&t.dom.isEmpty(t.getBody())&&l(t)}),r=t,{hasDraft:function(){return f(r)},storeDraft:function(){return m(r)},restoreDraft:function(){return l(r)},removeDraft:function(t){return c(r,t)},isEmpty:function(t){return s(r,t)}}})}()}(window);
--------------------------------------------------------------------------------
/vite/use_in_global/public/tinymce/plugins/insertdatetime/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.10.7 (2022-12-06)
8 | */
9 | !function(){"use strict";function l(e){return e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S"))}function s(e){return e.getParam("insertdatetime_formats",["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"])}function r(e,t){if((e=""+e).length'+n+"")):e.insertContent(d(e,t))}var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),a="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),i="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),o="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),u="January February March April May June July August September October November December".split(" "),g=tinymce.util.Tools.resolve("tinymce.util.Tools");e.add("insertdatetime",function(e){var n,r,t,a,i,o,u,c;function m(e){return r.execCommand("mceInsertDate",!1,e)}(n=e).addCommand("mceInsertDate",function(e,t){p(n,null!=t?t:n.getParam("insertdatetime_dateformat",n.translate("%Y-%m-%d")))}),n.addCommand("mceInsertTime",function(e,t){p(n,null!=t?t:l(n))}),u=s(r=e),t=0<(o=s(i=r)).length?o[0]:l(i),a=t,c={get:function(){return a},set:function(e){a=e}},r.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:function(e){return e===c.get()},fetch:function(e){e(g.map(u,function(e){return{type:"choiceitem",text:d(r,e),value:e}}))},onAction:function(e){m(c.get())},onItemAction:function(e,t){c.set(t),m(t)}}),r.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:function(){return g.map(u,function(e){return{type:"menuitem",text:d(r,e),onAction:(t=e,function(){c.set(t),m(t)})};var t})}})})}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/insertdatetime/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),u=function(e){return e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S"))},c=function(e){return e.getParam("insertdatetime_formats",["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"])},r="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),a="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),i="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),o="January February March April May June July August September October November December".split(" "),m=function(e,t){if((e=""+e).length'+n+"")}else e.insertContent(s(e,t));var i,o,u,c,m},t=function(t){t.addCommand("mceInsertDate",function(){var e;l(t,(e=t).getParam("insertdatetime_dateformat",e.translate("%Y-%m-%d")))}),t.addCommand("mceInsertTime",function(){l(t,u(t))})},d=tinymce.util.Tools.resolve("tinymce.util.Tools"),n=function(n){var e,t,r,a,i=c(n),o=(a=c(r=n),e=0 "),o(/\[b\]/gi,""),o(/\[\/b\]/gi," "),o(/\[i\]/gi,""),o(/\[\/i\]/gi," "),o(/\[u\]/gi,""),o(/\[\/u\]/gi," "),o(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,'$2 '),o(/\[url\](.*?)\[\/url\]/gi,'$1 '),o(/\[img\](.*?)\[\/img\]/gi,' '),o(/\[color=(.*?)\](.*?)\[\/color\]/gi,'$2 '),o(/\[code\](.*?)\[\/code\]/gi,'$1 '),o(/\[quote.*?\](.*?)\[\/quote\]/gi,'$1 '),t}var o=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=tinymce.util.Tools.resolve("tinymce.util.Tools");o.add("bbcode",function(o){o.on("BeforeSetContent",function(o){o.content=i(o.content)}),o.on("PostProcess",function(o){function e(o,e){t=t.replace(o,e)}var t;o.set&&(o.content=i(o.content)),o.get&&(o.content=(t=o.content,t=n.trim(t),e(/(.*?)<\/a>/gi,"[url=$1]$2[/url]"),e(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),e(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),e(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),e(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),e(/(.*?)<\/span>/gi,"[color=$1]$2[/color]"),e(/(.*?)<\/font>/gi,"[color=$1]$2[/color]"),e(/(.*?)<\/span>/gi,"[size=$1]$2[/size]"),e(/(.*?)<\/font>/gi,"$1"),e(/ /gi,"[img]$1[/img]"),e(/(.*?)<\/span>/gi,"[code]$1[/code]"),e(/(.*?)<\/span>/gi,"[quote]$1[/quote]"),e(/(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]"),e(/(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]"),e(/(.*?)<\/em>/gi,"[code][i]$1[/i][/code]"),e(/(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]"),e(/(.*?)<\/u>/gi,"[code][u]$1[/u][/code]"),e(/(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]"),e(/<\/(strong|b)>/gi,"[/b]"),e(/<(strong|b)>/gi,"[b]"),e(/<\/(em|i)>/gi,"[/i]"),e(/<(em|i)>/gi,"[i]"),e(/<\/u>/gi,"[/u]"),e(/(.*?)<\/span>/gi,"[u]$1[/u]"),e(//gi,"[u]"),e(/]*>/gi,"[quote]"),e(/<\/blockquote>/gi,"[/quote]"),e(/ /gi,"\n"),e(/ /gi,"\n"),e(/ /gi,"\n"),e(//gi,""),e(/<\/p>/gi,"\n"),e(/ |\u00a0/gi," "),e(/"/gi,'"'),e(/</gi,"<"),e(/>/gi,">"),e(/&/gi,"&"),t))})})}();
--------------------------------------------------------------------------------
/vue-cli/use_in_global/public/tinymce/plugins/legacyoutput/plugin.min.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved.
3 | * Licensed under the LGPL or a commercial license.
4 | * For LGPL see License.txt in the project root for license information.
5 | * For commercial licenses see https://www.tiny.cloud/
6 | *
7 | * Version: 5.3.1 (2020-05-27)
8 | */
9 | !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=tinymce.util.Tools.resolve("tinymce.util.Tools"),t=function(s){var e,t,i,a;t=!1,(e=s).settings.inline_styles=t,e.getParam("fontsize_formats")||(i="8pt=1 10pt=2 12pt=3 14pt=4 18pt=5 24pt=6 36pt=7",e.settings.fontsize_formats=i),e.getParam("font_formats")||(a="Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats",e.settings.font_formats=a),s.on("PreInit",function(){return e=s,t="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table",i=l.explode(e.getParam("font_size_style_values","xx-small,x-small,small,medium,large,x-large,xx-large")),a=e.schema,e.formatter.register({alignleft:{selector:t,attributes:{align:"left"}},aligncenter:{selector:t,attributes:{align:"center"}},alignright:{selector:t,attributes:{align:"right"}},alignjustify:{selector:t,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all",preserve_attributes:["class","style"]},{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all",preserve_attributes:["class","style"]},{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{textDecoration:"underline"},exact:!0}],strikethrough:[{inline:"strike",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{textDecoration:"line-through"},exact:!0}],fontname:{inline:"font",toggle:!1,attributes:{face:"%value"}},fontsize:{inline:"font",toggle:!1,attributes:{size:function(e){return String(l.inArray(i,e.value)+1)}}},forecolor:{inline:"font",attributes:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0}}),l.each("b,i,u,strike".split(","),function(e){a.addValidElements(e+"[*]")}),a.getElementRule("font")||a.addValidElements("font[face|size|color|style]"),void l.each(t.split(","),function(e){var t=a.getElementRule(e);t&&(t.attributes.align||(t.attributes.align={},t.attributesOrder.push("align")))});var e,t,i,a})};!function i(){e.add("legacyoutput",function(e){t(e)})}()}();
--------------------------------------------------------------------------------