GithubHelp home page GithubHelp logo

Comments (12)

wutsi avatar wutsi commented on June 7, 2024 1

looks good to me

from editorjs-button.

kaaaaaaaaaaai avatar kaaaaaaaaaaai commented on June 7, 2024

thankyou,
i will fix it~

from editorjs-button.

kaaaaaaaaaaai avatar kaaaaaaaaaaai commented on June 7, 2024

@wutsi

hi, i confirming styling code,

i had prepared editing css class, :)

example in editorjs code

tools: {
        AnyButton: {
          class: AnyButton,
          inlineToolbar: false,
          config:{
            css:{
              btn:"ejs-btn"
            }
          }
        },
      },

the css class that can be set are

const _CSS = {
            baseClass: this.api.styles.block,
            hide: "hide",
            btn: "btn",
            container: "anyButtonContainer",
            input: "anyButtonContainer__input",
            inputHolder: "anyButtonContainer__inputHolder",
            inputText: "anyButtonContainer__input--text",
            inputLink: "anyButtonContainer__input--link",
            registButton: "anyButtonContainer__registerButton",
            anyButtonHolder: "anyButtonContainer__anyButtonHolder",
            btnColor: "btn--default",
            toggleSwitch: "toggle-switch",
            toggleInput: "toggle-input",
            toggleLabel: "toggle-label",
        }

counld you write comment if u have any problems at css class

from editorjs-button.

wutsi avatar wutsi commented on June 7, 2024

@kaaaaaaaaaaai has is been deployed?

from editorjs-button.

kaaaaaaaaaaai avatar kaaaaaaaaaaai commented on June 7, 2024

@wutsi its already deployed, in v1.0.3
does it not work?

from editorjs-button.

wutsi avatar wutsi commented on June 7, 2024

@kaaaaaaaaaaai did you increment the version of the js file after the fix?

from editorjs-button.

wutsi avatar wutsi commented on June 7, 2024

Still doesn't work !
The class of the link is set, but the class in the <style> is still btn.

from editorjs-button.

kaaaaaaaaaaai avatar kaaaaaaaaaaai commented on June 7, 2024

@wutsi
hmm,

I finally understood.
The style file's "btn" class is conflicts.

ill fix soon, or pullreqest?

from editorjs-button.

wutsi avatar wutsi commented on June 7, 2024

you can fix it.. let me know once resoved -thanx

from editorjs-button.

wutsi avatar wutsi commented on June 7, 2024

@kaaaaaaaaaaai I would appreciate if you can publish the fix... my site having some issues because of it
Thanks

from editorjs-button.

wutsi avatar wutsi commented on June 7, 2024

@kaaaaaaaaaaai please let me know if you'll fix this problem... we still having prod issue because of this.
Thank you

from editorjs-button.

wutsi avatar wutsi commented on June 7, 2024

@kaaaaaaaaaaai please let if me if you do not have time to fix this issue. It's fine, we will look for another alternative for integrating button in our project

from editorjs-button.

Related Issues (8)

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.