Users and collaborators community Ask a question or leave a feedback about Editor.js https://github.com/codex-team/editor.js Please, write in English. 💝 Support project: http://opencollective.com/editorjs
You need press on the keyboard: shift+enter. Then you don’t create new block
Читать полностью…📦 editorjs/nested-list">@editorjs/nested-list 1.4.2 was published
Читать полностью…@specc hello, can you recommend something for this https://github.com/codex-team/editor.js/issues/2505
As a workaround I have ignored any block removed event that comes as a BlockMutationEvent[] type. But that's making the block conversion logic to fail because in an array, block deleted and block created events are sent. Which results in duplicate blocks.
What could i do? Is there a way to prevent all the other interactions?
Читать полностью…Hello everyone, I’ve encountered a problem that I’m creating my own tooltip, but for me it can only be deleted by clicking on the icon. Maybe there is some method (call) that allows you to add logic that if the input has an empty string, then let it delete the tooltype, rather than create it with an empty value
Читать полностью…or, is there a way to avoid all the interactions except this one?
Читать полностью…question... Is there any way to add tools (for example inline tools) that works in read-only mode?
Читать полностью…📦 editorjs/nested-list">@editorjs/nested-list 1.4.1 was published
Читать полностью…📦 editorjs/code">@editorjs/code 2.9.0 was published
Читать полностью…Hi
I added my custom settings to ImageTool, but I don’t receive them in output data, even though I can see it’s keeping in data I receive from backend
Of course you can.
But it’s somehow difficult.
Clearly that's not what it's intended for.
Hello guys, can you help me please
Want to use editor for documents and I'll have to do smth like bank document templates with some filled data
And user should fill other inputs which is not filled and separated by spaces
Can I do such things in Editor?
For example, I need to have a document with default filled title, and body of a document will be partly filled with spaces to user fill them by some data?
there is no option for that. Why do you need this?
Читать полностью…📦 editorjs/simple-image">@editorjs/simple-image 1.6.0 was published
Читать полностью…Hello, i have observed an issue with the link tool available out of the box. It has a XSS vulnerability.
If I provide url link as "javascript:alert(32)", the link will execute the script when user clicks it.
Anyway to disable this?
hello! Greetings, is there a way to disable the creation of blocks when entering enter in the editor? How can I send that action?
Читать полностью…Hi! The backspace function is not working properly in the 'Code' block. If you add it for the first time, everything is fine. But if you load previously saved data and try to edit it, it deletes characters not in the 'Code' block, but in the block above!
Читать полностью…It would be easier and more right way to do it by your own, not via editorjs. Just use window.getSelection() and range.surroundContents()
Читать полностью…Всем привет, столкнулся с такой проблемой, что я создаю свой тултип, но у меня удаления происходит только по нажатию на иконку. Может есть какой-то метод (вызов), который позволяет навесить логику, что если пустая строка у инпута, то пусть удаляет тултип, а не его создает с пустым значением
Читать полностью…I'm triying to make create inline markers for comments but the doccument must not be editable 🤔
Читать полностью…I return additional values in save method
save() {
const { caption } = this.ui.nodes;
this._data.caption = caption.innerHTML;
this._data.align = this.align;
this._data.size = this.size;
return Object.assign(this.data, {
align: this.align,
size: this.size
});
}
I in data that I pass to editor I see them
const editor = new NewEditorJS({
autofocus: true,
inlineToolbar: true,
data,<—— in this data I see these properties
.....})
but in MyImageTool which is extended from ImageTool
when I console.log(this.data) there is no additional properties, I see only default ones
📦 editorjs/raw">@editorjs/raw 2.5.0 was published
Читать полностью…Конечно, ты можешь.
Но как-то сложно это.
Явно не для этого предназначено.
I created custom placeholder where we can put some dynamic react component. But the issue is when we start type something in a field, plaseholder is not absent immidietly. just after 0.5 sec.
Читать полностью…📦 editorjs/quote">@editorjs/quote 2.6.0 was published
Читать полностью…