j6montoya / vue-tinymce Goto Github PK
View Code? Open in Web Editor NEWTinymce support on Vue 2.1x
License: Apache License 2.0
Tinymce support on Vue 2.1x
License: Apache License 2.0
Had this issue but could not track it down for months, Vue was loading twice. This is due to the "main" script in package.json pointing to the minified file, rather then the vue file.
This will lead to 2 different versions of Vue to load, it does not cause any real issues other then bloating the app and also both versions of Vue will bootstrap themselves (so it can hurt performance).
Anyway the fix would be changing them main
portion of the package.json to the vue file, my testing on my app has not shown any problem swapping the include to 'vue-tinymce/src/vue-tinymce'
but I am not sure if there are any repercussions that would happen overall.
When using TinyMCE 4.7.4, I often get this error:
setContent | @ | tinymce.js?26fc:41039
Uncaught TypeError: Cannot read property 'length' of undefined
at Editor.setContent (eval at <anonymous> (app.js:924), <anonymous>:41039:21)
at Editor.eval (eval at <anonymous> (app.js:1014), <anonymous>:1:1807)
at Dispatcher.fire (eval at <anonymous> (app.js:924), <anonymous>:23139:31)
at Editor.fire (eval at <anonymous> (app.js:924), <anonymous>:23379:41)
at initEditor (eval at <anonymous> (app.js:924), <anonymous>:38959:14)
at eval (eval at <anonymous> (app.js:924), <anonymous>:39110:11)
at eval (eval at <anonymous> (app.js:924), <anonymous>:8776:13)
at eval (eval at <anonymous> (app.js:924), <anonymous>:8244:13)
This didn't happen in version 4.7.3. Is there any chance of updating this extension?
I use patch 4.7.13 (2018-05-16)
Loading failed for the <script> with source โhttp://localhost:50165/jQuery/admin/themes/modern/theme.min.jsโ.
Thanks!
Followed the example but this error occurs "tinymce is not defined" on render.
I was experiencing the cursor jumping to the beginning of the tinymce textarea every time I did a key up. This made entering text pretty much impossible. I narrowed it down to this line in tinymce.vue:
editor.on('NodeChange Change KeyUp', (e) => {
I was able to fix the behavior by changing it to:
editor.on('Blur', (e) => {
By using the "Blur" option, I was able to remove the cursor jumping and still achieve normal behavior as far as the underlying vue model staying updated. I have not fully thought through possible unintended consequences, but for my purposes it has worked well.
Using current webpack template got an error
Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:8080/themes/modern/theme.js
How can I handle it? Thanks.
when I upgrade to vuetify 2 it doesn't work! and the message "tinymce is not defined" appears on console
I am going to replace part of my old webapp code which is old. And How Can I use this in ES5 directly?
Thanks very much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.