Giter Club home page Giter Club logo

editorjs-alert's People

Contributors

calumk avatar collimarco avatar dimitrov-adrian avatar vasiliy-l avatar vishaltelangre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

editorjs-alert's Issues

Choose the allowed alert types

It would be nice to have an option (a config param like allowedTypes) to choose what alert types we want to show in the editor.

e.g. sometimes you don't want to allow the user to add a "Danger" alert.

Tune box too short

The tune box is too short and causes the delete and move buttons to be crowded out and hard to see. You can scroll them if you hover over but should either show all at once or scroll the entire tune box, not just move and delete. If vertical space is a constraint, making the alert color selections smaller so they fit 4 across would be a better option.
image

Feature Request - Text Justify

I would really like the ability to "Left / Center / Right" Justify text in the alert box

Specifically centering would be ideal for my use case, but might as well support all 3.

Would you have time to add this, or be willing to accept a PR with this implemented?

Cannot read properties of undefined (reading 'length')

It seems to be possible to trigger an error by pressing enter/backspace multiple times, inside the alert block.

Unsure exactly what triggers it, but clicking around, pressing enter and backspace lots seems to do the trick.

[email protected]:6 Uncaught TypeError: Cannot read properties of undefined (reading 'length')

Screen.Recording.-.EditorjsAlert.mov

The Issue was first reported on my own plugin, But I think it is from here, or may be from further upstream in the editor itself.

calumk/editorjs-columns#2

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.