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 🤩

hi, how can this be used in nuxt 2 or nuxt 3?
copied the code from this file

https://github.com/codex-team/editorjs.io/blob/main/components/EditorDemo.vue

but it still doesn't work for me, an error

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

Editor.js 🤩

sanitize for the block tool? I kind of created my own text block, referring to paragraph. I'll try enabling sanitize too.

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

Editor.js 🤩

There's no block-change event being triggered for it. So, if I reload, bold tag appears back.

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

Editor.js 🤩

Hi, Small question on inline style. When I toggle the read-only mode, i see that the inline styles are not being maintained.

Hello <b>world</b> is being converted to Hello world.

I am using editor.readOnly.toggle method. Is there something that i should be doing differently?

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

Editor.js 🤩

Yes this problem is there with latest version, you can try a lower version of Header plug-in.

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

Editor.js 🤩

Hi Peter the issue has been resolved now.

There were two instances running in same page, so changing the holder of one part did the work.


Thanks for your response.

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

Editor.js 🤩

It’s an very crucial feature for us to paste content from clipboard

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

Editor.js 🤩

pass minHeight: 0 via the Editor Config

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

Editor.js 🤩

how can i delete this padding?

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

Editor.js 🤩

done this in "onReady" callback

const inlineToolbar = document.querySelector(".ce-inline-toolbar");

document.addEventListener("click", () => {
if (!inlineToolbar?.classList.contains("ce-inline-toolbar--showed")) {
const findFieldOptionsWindow = document.getElementById(
"ftype_settings"
);
findFieldOptionsWindow?.remove();
}
});

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

Editor.js 🤩

the renderActions itself was designed as a place for Inline Tool to render additional controls, like input in a Link Tool

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

Editor.js 🤩

I want to bind this window to editor wrapper in renderActions:

this.api.ui.nodes.wrapper.appendChild(this.field_settings_wrapper);

But dont understand how i can delete this window

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

Editor.js 🤩

there is no event for Inline Toolbar hiding in the API at the moment. You can watch .ce-inline-toolbar classlist change as a workaround. What is the use case?

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

Editor.js 🤩

i need to use somehow event listeners in this.api?

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

Editor.js 🤩

I want to use it as the id of the header div

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

Editor.js 🤩

Added sanitize in the inline tool block. Worked. Thanks for the tip, Peter.

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

Editor.js 🤩

you can call the save() before enabling a read-only mode. Probably, you have an issue with the sanitize configuration, because I can't reproduce it in our example page

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

Editor.js 🤩

Does <b> remain on save?

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

Editor.js 🤩

I’m using header V2.6.2 version with editorjs V2.26.5

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

Editor.js 🤩

I've already opened an issue, but I'll ask here.
The header tag that I copied and pasted gets skipped when saving in the latest version of editorjs. Is this happening only in my environment?

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

Editor.js 🤩

Hi, try using the latest version. If the problem remains, give us a list of steps to reproduce it

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

Editor.js 🤩

Hi Team,
Hope you guys are doing well.
Actually I implemented editor.js V2.26.5 everything seems to be working fine except when pasting content from clipboard. It’s getting pasted twice, not sure what’s wrong there.

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

Editor.js 🤩

i find it ✌️
this.api.ui.nodes.redactor.style.paddingBottom = '0px'

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

Editor.js 🤩

strange, but this dont work on clicks inside "codex-editor" element

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

Editor.js 🤩

A field that is placed in different places of document, with predefined selection settings. Subsequently this field wil render to fill document with different types of data (date, email, phone, and so on)

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

Editor.js 🤩

what a tool and which additional settings?

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

Editor.js 🤩

I created an inline toolbar tool, which should also control the opening of the additional settings window when activated

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

Editor.js 🤩

I see this as a event bind to click outside "ce-inline-toolbar", is that right way?

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

Editor.js 🤩

Hi
how to bind to the inline tool hiding event?

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

Editor.js 🤩

hi guys, is there a way to access block's id in editor js ?

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