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
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
sanitize for the block tool? I kind of created my own text block, referring to paragraph. I'll try enabling sanitize too.
Читать полностью…There's no block-change event being triggered for it. So, if I reload, bold tag appears back.
Читать полностью…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?
Yes this problem is there with latest version, you can try a lower version of Header plug-in.
Читать полностью…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.
It’s an very crucial feature for us to paste content from clipboard
Читать полностью…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();
}
});
the renderActions
itself was designed as a place for Inline Tool to render additional controls, like input in a Link Tool
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
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?
i need to use somehow event listeners in this.api
?
Added sanitize in the inline tool block. Worked. Thanks for the tip, Peter.
Читать полностью…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
I’m using header V2.6.2 version with editorjs V2.26.5
Читать полностью…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?
Hi, try using the latest version. If the problem remains, give us a list of steps to reproduce it
Читать полностью…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.
i find it ✌️this.api.ui.nodes.redactor.style.paddingBottom = '0px'
strange, but this dont work on clicks inside "codex-editor" element
Читать полностью…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)
Читать полностью…I created an inline toolbar tool, which should also control the opening of the additional settings window when activated
Читать полностью…I see this as a event bind to click outside "ce-inline-toolbar", is that right way?
Читать полностью…Hi
how to bind to the inline tool hiding event?
hi guys, is there a way to access block's id in editor js ?
Читать полностью…