-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mail-App Editor: Add Tables #7282
Comments
That should be possible with a ckeditor plugin: https://www.npmjs.com/package/@ckeditor/ckeditor5-table |
@ChristophWurst Do i need to install that plugin into nextcloud or is this some kind of patch that is needed. |
It's a plugin that a developer has to install inside this app. Do you have any front-end developers in your company? I can assist getting this in. It shouldn't require too much effort. |
@ChristophWurst |
https://github.com/nextcloud/mail/blob/main/src/components/TextEditor.vue has to be adjusted as well. And yes, this should go through a pull request rather than a local change on your system. |
@ChristophWurst As you can see in the first picture it shows the table as i configured it, the borders are invisible. |
It sounds like the rendering of the HTML table depends on the browser engine on the receiving end and how it styles the table. We have had similar issues with the text in a HTML message. It didn't look the same while editing vs when received. Some of this can be fixed by sending css along with the message that ensures consistent styling between the two states. |
@ChristophWurst The whole table implementation otherwise makes no sense for me. |
I think it could work in a similar way as #2538 |
@ChristophWurst |
I don't have the time to set up a environment to replicate your issue at the moment. See if injecting styles and defining how tables should be rendered remedies the issue. Otherwise I'm currently out of ideas as well. Another approach would be to compose emails with tables from Gmail and Thunderbird and inspect their sources as a reference. |
Thank you very much for your help. |
Is your feature request related to a problem? Please describe.
Hello @ChristophWurst,
i've seen you added the function to add an image in the mail-app editor.
I appreciate your effort amd would like to ask if it is possible to also add tables to the editor and a way to hide the table borders?
My company as many others uses html signatures and i would like to try to rebuild the html signature in the mail-app from nextcloud. Your new function to add an image helps alot but we also do have text next to the image and i think the easiest way is to solve this problem is to have a table with hidden borders and two collumns. On one site the picture and the other site with text.
I like to hear what you think about that.
Thanks alot.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: