Coder Social home page Coder Social logo

Comments (11)

chmln avatar chmln commented on May 20, 2024 2

Looks like changes in Vue are causing some errors.
Perhaps I could try rebuilding the library against the latest version.

from vue-wysiwyg.

invmatt avatar invmatt commented on May 20, 2024 1

Having the same issue. In addition to this when selecting a heading the following error appears:

vueWysiwyg.js?5768:1 Uncaught TypeError: Cannot read property 'focus' of undefined
    at VueComponent.exec (vueWysiwyg.js?5768:1)
    at r.boundFn (vue.runtime.esm.js?ff9b:185)
    at r.l.emitEvent (vueWysiwyg.js?5768:1)
    at r.l.emit (vueWysiwyg.js?5768:1)
    at VueComponent.insertHeading (vueWysiwyg.js?5768:1)
    at boundFn (vue.runtime.esm.js?ff9b:186)
    at invoker (vue.runtime.esm.js?ff9b:1933)
    at HTMLButtonElement.fn._withTask.fn._withTask (vue.runtime.esm.js?ff9b:1768)

from vue-wysiwyg.

rodrigoAbril avatar rodrigoAbril commented on May 20, 2024 1

Here is a demo of the bug
https://codesandbox.io/embed/jn0ovr2p9y

to replicate it just try adding a table

from vue-wysiwyg.

rodrigoAbril avatar rodrigoAbril commented on May 20, 2024 1

@invmatt @nawalnew
if you upgrade vue to today's [email protected] release the problem is fixed

from vue-wysiwyg.

invmatt avatar invmatt commented on May 20, 2024 1

@rodrigoAbril Confirmed. Updating has solved the problem. Thanks for the quick reply.

from vue-wysiwyg.

rodrigoAbril avatar rodrigoAbril commented on May 20, 2024 1

well the issue is gone but now when you want to add a table you get this error:

ReferenceError
table is not defined
VueComponent.insertTable...

from vue-wysiwyg.

nawalnew avatar nawalnew commented on May 20, 2024

Same here, most issues fixed with update.
But cant create table -.-

from vue-wysiwyg.

chmln avatar chmln commented on May 20, 2024

The version on master is now running against latest Vue without problems.
There will also be UX improvements and hopefully a fix for the link module.

Thanks all for your patience 👍

from vue-wysiwyg.

chmln avatar chmln commented on May 20, 2024

Hi all,

I've published a new version under vue-wysiwyg@next at npm.
This version includes a fix for the hyperlink module, rewritten table module, usability improvements, and is built against the latest version of vue (2.5.8).

Please try it out and let me know if all the problems are fixed.

Thank you

from vue-wysiwyg.

nawalnew avatar nawalnew commented on May 20, 2024

Thank you @chmln ,
It works better with all functionality.

I have just one Issue with multiple Instances of the editor and the tables.

Do you have an Idea how to solve this that I can use multiple Instances of the editor on one page? :)
bildschirmfoto 2017-11-24 um 10 10 51

from vue-wysiwyg.

chmln avatar chmln commented on May 20, 2024

@nawalnew Yes, multiple instances will be available by next release :)

from vue-wysiwyg.

Related Issues (20)

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.