vishaltelangre / editorjs-alert Goto Github PK
View Code? Open in Web Editor NEWEditor.js tool for adding colorful alerts/callouts
Home Page: https://vishaltelangre.github.io/editorjs-alert/examples/demo.html
License: MIT License
Editor.js tool for adding colorful alerts/callouts
Home Page: https://vishaltelangre.github.io/editorjs-alert/examples/demo.html
License: MIT License
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.
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.
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?
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')
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.
thanks for the useful library.
How to allow just success, warning and error without forking the library?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.