codex_editor | Unsorted

Telegram-канал codex_editor - Editor.js 🤩

269

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

Subscribe to a channel

Editor.js 🤩

should it not have .data on it?

Читать полностью…

Editor.js 🤩

this is my tune, everything works except data is not passed to the constructor, and the block thats passed to the constructor, only has the id, no .data

Читать полностью…

Editor.js 🤩

I'm unable to get the block.data in a tune command

Читать полностью…

Editor.js 🤩

I'm not sure I'm understanding your problem.

Читать полностью…

Editor.js 🤩

is this a bug? what am I doing wrong?

Читать полностью…

Editor.js 🤩

I dont get it, the block object has no data inside the tune

Читать полностью…

Editor.js 🤩

https://editorjs.io/saving-data/

Читать полностью…

Editor.js 🤩

where is this? I dont see it in the docs

Читать полностью…

Editor.js 🤩

I can update the block, that works, I can't get the data from it inside the tune

Читать полностью…

Editor.js 🤩

I shared my code here https://github.com/codex-team/editor.js/issues/2630

Читать полностью…

Editor.js 🤩

I can update it, I can't read it

Читать полностью…

Editor.js 🤩

can anyone help me with this please?

Читать полностью…

Editor.js 🤩

Hi all, is update working? How do I replace the data of a pragraph block? Im unable to do so

Читать полностью…

Editor.js 🤩

How can I set caret position manually? The offset mentioned in the documentation is not working.

Читать полностью…

Editor.js 🤩

Hi,
I wanted to disable the default popup when I select image and also wanted to give two options instead of one, from (select an image) to (select existing, select an image).

Читать полностью…

Editor.js 🤩

these are all undefined, except block, but block has no .data property, only .id

Читать полностью…

Editor.js 🤩

I checked the object and its not there

Читать полностью…

Editor.js 🤩

is this the only way? Im going to try it now but this cant be right

Читать полностью…

Editor.js 🤩

so I would then have to cycle trough it to find the one with the id

Читать полностью…

Editor.js 🤩

its not passed, it passes the id but not data

Читать полностью…

Editor.js 🤩

but this gets all the blocks, it wont work, I'm trying to read a block

Читать полностью…

Editor.js 🤩

this?
save() {
const savedData = this.api.saver.save(); // ...
}

Читать полностью…

Editor.js 🤩

You have "save()" method to retrieve data

Читать полностью…

Editor.js 🤩

I dont see a way to return data from this method

Читать полностью…

Editor.js 🤩

without reading it this wont work, I need to know the content of the block

Читать полностью…

Editor.js 🤩

Hey. Try using blocks.update(id, newData)

Читать полностью…

Editor.js 🤩

Good morning, I need some help, block data is not there when passing to a tune

Читать полностью…

Editor.js 🤩

const selection = document.getSelection();
const range = new Range();

range.setStart(...);
range.setEnd(...);

selection.removeAllRanges();
selection.addRange(range);

Читать полностью…

Editor.js 🤩

Hi community,
I want to know about features about collaboration and grammelly , are these features already available or not ?

Читать полностью…

Editor.js 🤩

Hello everyone, my question is: is there a ready-made solution for cleaning styles? For example, we added boldness, italics, subscript, etc. And we need another extension that cleans it all up?

Читать полностью…
Subscribe to a channel