Code Monkey home page Code Monkey logo

Comments (3)

Hugovdberg avatar Hugovdberg commented on June 22, 2024

doesn't work for me either on Obsidian v0.13.23, in the developer console I see an error, which to me suggests that something in the Obsidian editor API changed which this plugin relies on:

CountdownTimer.ts:22 Uncaught TypeError: this.editor.getWrapperElement is not a function
    at new CountdownTimer (eval at <anonymous> (app.js:1), <anonymous>:196:21)
    at DangerzoneWritingPlugin.startTimer (eval at <anonymous> (app.js:1), <anonymous>:331:34)
    at DangerzoneWritingPlugin.startOrContinueTimer (eval at <anonymous> (app.js:1), <anonymous>:291:18)
    at HTMLDivElement.eval (eval at <anonymous> (app.js:1), <anonymous>:268:19)

from dangerzone-writing-plugin.

DesiQuintans avatar DesiQuintans commented on June 22, 2024

Dangerzone 0.0.10 is also not working for me on Obsidian v0.15.9 on Windows 10.

plugin:dangerzone-writing-plugin:196 Uncaught TypeError: this.editor.getWrapperElement is not a function
    at new CountdownTimer (plugin:dangerzone-writing-plugin:196:21)
    at DangerzoneWritingPlugin.startTimer (plugin:dangerzone-writing-plugin:331:34)
    at DangerzoneWritingPlugin.startOrContinueTimer (plugin:dangerzone-writing-plugin:291:18)
    at HTMLDivElement.eval (plugin:dangerzone-writing-plugin:268:19)

from dangerzone-writing-plugin.

elliotfiske avatar elliotfiske commented on June 22, 2024

If you have text selected, that error doesn't occur. However, the plugin still doesn't do anything.

I'm planning to look into this and see if I can get it working for the latest version of Obsidian.

from dangerzone-writing-plugin.

Related Issues (9)

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.