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
there is a guide of how to create a block tool https://editorjs.io/creating-a-block-tool/
Читать полностью…
Hello! Does Editorjs transmit data into custom tulas/classes?
const editor = New Editorjs ({{
autofocus: true,
Tools: {
CUSTOOLOL: Mycutomtool
}
Data: SomeprepareData
});
so that inside Mycustool can get the data I need
Class Mycustool Extends Editorjstool {
Private NeededData: Any;
constructor ({API, Data, Config, ... REST}) {
this.neededdata = DATA.NEEDEDDATA;
Super ({API, Data, Config, ... Rest});
}
logger () {
console.log (thisneededdata);
}
}
Can we use our own created functional component or any other frontend component library with editor tool?
Читать полностью…
Всем доброго времени суток, можете помочь пожалуйста очень нуждаюсь в вашей помощи, как мне в EditorJS сделать заголовок обязательным как на сайтах vc dtf?
Читать полностью…
Hello. Specify isReadOnlySupported static getter. And update your tool UI based on readOnly constructor param — disable all editing abilities such as contenteditable attributes, click listeners, etc
Hello there ,I am facing issue while using editorjs with nextjs in the embeds ,link and attach tool showing declartion file not found.i think types are not defined for these plugins.Can anyone share their implementation of editorjs
Читать полностью…
📦 editorjs/list">@editorjs/list 2.0.6 was published
Читать полностью…
📦 editorjs/image">@editorjs/image 2.10.2 was published
Читать полностью…
I am asking cause I am not familiar with the plugin system and want to know if its is technically feasible, as I am planning to implement it myself
Читать полностью…
Thanks
Would it be possible to implement via plugin?
📦 editorjs/list">@editorjs/list 2.0.4 was published
Читать полностью…
i cant really do that because its in a lot of places. But also I think its not about displaying, but just the existence of the nz-select anywhere on the screen is preventing and messing up the editorjs handlers/listeners.
Читать полностью…
I found that is problem with having both editorjs and that nz-select because i was jus removing parts of the project and i narrowed it down to that. And also i made a separate test project and I just added editorjs, and it was working fine. And then i just added the nz-select and instantly i get this error when i use editorjs popover with tools:
editorjs.mjs:3393 Unable to preventDefault inside passive event listener invocation.
Ok... Suppose I have created a PDF viewer functional component, I want to use it as block tool. So, how I can do it
Читать полностью…
Привет! а EditorJS передает данные внутрь кастомных тулзов/классов ?
const editor = new EditorJS({
autofocus: true,
tools: {
customTool: MyCustomTool
},
data: somePreparedData
});
Читать полностью…
class MyCustomTool extends EditorJsTool {
private neededData: any;
constructor({ api, data, config, ...rest }) {
this.neededData = data.neededData;
super({ api, data, config, ...rest });
}
logger() {
console.log(this.neededData);
}
}
Ok thanks for your reply.... Can you please provide some reference how to do it
Читать полностью…
Good day to everyone, you can help please really need your help, how can I make the heading mandatory as on the VC DTF sites in Editorjs?
Читать полностью…
hi. wondering, is it possible copy, cut a full block ?
Читать полностью…
hello guys
how do i can enable readOnly mode in my custom tools ?
📦 editorjs/table">@editorjs/table 2.4.4 was published
Читать полностью…
Editor.js is not ready because of Error: element with ID «editorjs» is missing. Pass correct holder's ID. · Issue #2914 · codex-team/editor.js
https://github.com/codex-team/editor.js/issues/2914
📦 editorjs/list">@editorjs/list 2.0.5 was published
Читать полностью…
I believe it's possible. Should be designed first
Читать полностью…
If anyone has some ideas and recommendation its much appreciated. I have been trying a lot of things, but i cant get past this bug.
Читать полностью…
Maybe you should not display nz-select when Editor is focused?
Читать полностью…