@bwbnet Should have fixed the crtl-z issue! Custom items in the menu is not supported at this moment.
@Thimo This is a great plugin, thanks for sharing!
Wondering if it would be possible to make the table size adjustable by dragging, with the ability to also rearrange columns/rows by dragging?
Being able to highlight full rows & columns would also be great!
Also, wondering if adding images into table cells is a possibility.
Hi @isaac4! These features are unfortunately not yet supported by the library that is used. I will try to submit feature requests and I will also put them on my list. If they get supported I can implement them into the plugin
Understood - thank you!
Hi @Thimo, your plugin is amazing, congratulations!
I’m using it in my application and my question is if it’s possible to add this option to copy code in the code block. Or if it’s possible to add a button that does this. This screenshot is from the Notion application.
Hi @dimasferreiraed! That is a cool feature idea. I did some research and this is not yet supported by the code block, but I will put it on my list to I can keep my eye on it. If it gets supported or a different solution pops up I can look into implementing it!
Hi @Thimo , thanks for your reply.
I believe this feature will add a lot, thanks!
@Thimo Hi Thimo, thanks for the great plugin!
I have a question about the drag and drop feature.
Can I enable drag and drop by simply placing an element and checking the “Enable reorder by drag and drop?” box?
It does not work with just this setting and I am wondering if there are other settings I need to make.
@a-hongo Just enabling the checkbox should make it work! After you have enabled “Enable reorder by drag and drop?” you can click and drag the tune icon:
to reorder the blocks.
You can try it out on the demo page: Modern Rich Text Editor (Editor.js)
Hi @Thimo , thanks for your reply.
If the initial value is left empty, drag and drop does not seem to work.
It worked if I pre-populated the initial value with JSON (e.g., paragraph block) while enabling the checkbox.
@a-hongo ah good catch! I was able to reproduce and fix the issue. However I have not released a new version yet as I am also working on some bigger improvements that will be released at the end of this week / beginning of next week. So you can expect this fix to be included in that update
@Thimo
Thank you for confirming and addressing this issue!
This plugin has really helped me.
Looking forward to the next release! I’ll be rooting for you!
I’ve achieved this (in dev) with openai’s gpt-4o-mini following the strict JSON setting in the assistant and using the add/edit a new block (which is an action for this plugin).
Roughly - I send the JSON block to openai - with the comment to edit only the contents of the relevant block.text path contents. Then it sends this back as JSON.
Not had a problem yet, but it’s in development. Real world users have not found their ways to break it
Hi @Thimo , I have an error.
In my application, I register a text. This text goes to a database field in JSON format.
However, when I want to display this text from the database in my application using the text editor’s reading mode and it has an image, I get this error.
Do you know what it could be?
As the error indicates your JSON is not correct. Please make sure the JSON you are trying to display has the correct format the RTE supports. It should be the exact format the RTE also outputs.
Is it possible in the plugin to take the text values
before the caret/cursor position? @Thimo
Hi @rccanlas, at this time the plugin only allows you to use the the current highlighted text (if text is highlighted) and not all the text before the current caret position
Would you be able to add detection of text values before caret position?
This is for an AI writer so that instead of selecting text I can just click a button to continue writing and the AI knows what is already talking about before.
Thank you!
Hi @rccanlas, thanks for the additional details. I looked into this and this is unfortunately not something simple I can add right now. I will add it to the backlog, but can’t give an ETA right now when it will be picked up. Hopefully this makes sense!
Hello Thimo,
Thanks for the great plugin. It is an elegant update to the outdated Bubble styles.
Unfortunately, after a day of experiments, I’ve concluded that I can’t use it on my native (wrapped) SPA mobile app for the following reasons.
-
The 300px padding at the bottom of the input is reasonable due to the necessity of the extra space for the menu items, but it creates a UI that seems to be glitched. Is there a way to set the Z index or a fixed/floating group so the menu is above the container group? If not, I got around this by disabling the buttons on the smaller input box and providing a popup to a nearly full-screen input for the rich text editing. However, I cannot overwrite the code that sets the 300px bottom padding because, as you’ve said, it is library default. (Perhaps I don’t know enough about CSS and HTML.) So please provide a way to dismiss the 300 px bottom padding if the menus are disabled.
-
There is a default style, editor-js-styles root, with many colors that I cannot overwrite. These greys, etc., might work on a white BG but clash with my color scheme. For some reason, the setting in the element editor is not working on my app, and there is no way for me to set the placeholder color to something other than grey (as well as the quote boxes, etc.). I need to be able to customize these colors. Please provide a way to do so.
-
When all the data does not fit in the smaller input, the initial data is not loaded on the first load. Please make the plugin compatible with the Instant Text plugin.
I’d greatly appreciate your updating the plugin to address these issues.
Cheers