Coder Social home page Coder Social logo

vue-tinymce's People

Contributors

j6montoya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vue-tinymce's Issues

If Included through NPM, should not be packaged with Vue

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.

Cannot read property 'length' of undefined

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?

Vue 2.4 cursor jumping, plus a possible fix

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.

tinymce is not defined

when I upgrade to vuetify 2 it doesn't work! and the message "tinymce is not defined" appears on console

How to use in ES5?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.