GithubHelp home page GithubHelp logo

Comments (14)

esgy avatar esgy commented on June 2, 2024

Same issue here.
Thanks for the dirty fix ;)

from ui-tinymce.

PaulWatts avatar PaulWatts commented on June 2, 2024

We are having exactly the same problem. Can anyone advise if this will be fixed in the next release ?

from ui-tinymce.

mjadobson avatar mjadobson commented on June 2, 2024

Yeah, same issue again. The dirty fix seems to have sort-of-worked for now.

Had some errors like this show up in the console: Error: 'undefined' is not an object (evaluating 'o.createRange')

from ui-tinymce.

SET001 avatar SET001 commented on June 2, 2024

@RichardAlan, thanx, that hack really solved this problem.

from ui-tinymce.

cparaiso avatar cparaiso commented on June 2, 2024

@RichardAlan to the rescue!

from ui-tinymce.

rowinf avatar rowinf commented on June 2, 2024

I've been running into a similar problem when tinymce is in a ng-switch or ng-if directive.

from ui-tinymce.

macl avatar macl commented on June 2, 2024

Thanks @RichardAlan, your code solved similar issue for me too. Hope this is fixed soon!

from ui-tinymce.

Estyn avatar Estyn commented on June 2, 2024

We solved a similar issue by making sure that the tinymce is destroyed properly. This way it will create a new instance when needed.

elm.bind("$destroy", function () {
if (!tinyInstance) {
tinyInstance = tinymce.get(attrs.id);
}
if (tinyInstance) {
tinymce.get(attrs.id).remove()
}
});

from ui-tinymce.

displague avatar displague commented on June 2, 2024

Issue #49 looks like a dupe with yet another workaround.

from ui-tinymce.

ajshapiro avatar ajshapiro commented on June 2, 2024

Thanks @Estyn, removing the instance when the scope is destroyed seems critical and in fact solved my similar problem.

from ui-tinymce.

wesleycho avatar wesleycho commented on June 2, 2024

It appears that this fix is already in master - please comment if it is still an issue.

from ui-tinymce.

grantgeorge avatar grantgeorge commented on June 2, 2024

@wesleycho will this be updated in a bower release soon?

from ui-tinymce.

wesleycho avatar wesleycho commented on June 2, 2024

I believe it's in the latest version - let me know if not.

from ui-tinymce.

grantgeorge avatar grantgeorge commented on June 2, 2024

@wesleycho thanks for the quick reply man! It doesn't appear to be in 0.0.5 (the latest as indicated by bower list). Thank you!

from ui-tinymce.

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.