Giter Site home page Giter Site logo

Comments (2)

solarkraft avatar solarkraft commented on May 25, 2024

Hint 1: handleSwitchEditorResponse fails because window.Prosemirror is undefined. This keeps us from switching back to the text editor (also called after 5 seconds).

TypeError: undefined is not an object (evaluating 'window.Prosemirror.destroyProsemirror')
    showDefaultEditor — js.php:5898
    handleSwitchEditorResponse — js.php:5981
    c — jquery.php:1306
    fireWith — jquery.php:1347:98
    l — jquery.php:3598:427
    (anonymous function) — jquery.php:3705:241

Hint 2: showProsemirror fails because ... window.Prosemirror is undefined.

[Error] TypeError: undefined is not an object (evaluating 'window.Prosemirror.enableProsemirror')
	showProsemirror (js.php:1:163535)
	handleSwitchEditorResponse (js.php:1:165619)
	c (jquery.php:2:28300)
	fireWith (jquery.php:2:29041)
	l (jquery.php:2:79812)
	(anonymous function) (jquery.php:2:82256)

Hint 3: Disabling and enabling the plugin makes no difference, same thing with restarting the container. What does make a difference is installing the original version and manually putting the custom one back over it.

from dokuwiki-preconfigured.

solarkraft avatar solarkraft commented on May 25, 2024

lib/bundle.js is missing, which is created using Babel in the release version. So that's a problem with how I ship the visual editor.

from dokuwiki-preconfigured.

Related Issues (17)

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.