Any successful email composer implementations with CKEditor 5? - ckeditor

The Problem
We are trying to get the best configuration for CKEditor 5 to allows users to compose responsive emails, reply to emails and copy-paste content into it. Our software can also capture emails and display them.
But we are having weird rendering issues, they include:
Tables gets wrapped in tags
Image Alignment and Table Alignment works in Gmail but not in Desktop Outlook
Outlook ignores table cell background color, inside text color, and table size
Gmail renders background color and inside text correctly but ignores table size
We have tried for a few months already and there are always issues. The last things we tried are:
https://www.npmjs.com/package/ckml -> works slightly better but no fix for tables
https://www.npmjs.com/package/ckeditor5-build-classic-email -> just strips out the modern email support like tables.
Both builds are missing the html-support plugin or reference an unknown package ckeditor5-preserve-style
What I'm looking for
I understand that every email client will have it's own rendering rules and acceptable tags/properties.
Is there a CKEditor 5 configuration that is designed for maximum support for email editing and rendering?
Is there a pre-built engine (JS, C#, ...) that can take a less compatible CKEditor HTML and make it more compatible by adding missing things into head, replace , do magic for tables, ...? And also still support converting it back to the original for future CKEditor-friendly editing.
Has anyone had a good implementation of CKEditor 5 for email that they can share?

Related

How to format tile view in Microsoft SharePoint

Currently my SharePoint website looks like this image
I was wondering if there is a way to make the section with the links smaller (maybe by about 25%) and into two rows of five while still keeping that default tile view SharePoint provides. I've looked into custom formatting with JSON, but I'm not sure how to replicate the default tile view using this method. Also, I'm completely clueless on how to edit a whole section's size as there is no option when editing the web part. Any help is appreciated.

Uploading and referencing custom images in BigCommerce/Stencil

Recently started work on a BigCommerce project and on the homepage I want to have a theme area where normal site admin users can upload their own images based on holidays (Xmas, halloween etc) in the theme editor.
I know how to add in some custom elements in the theme editor using the Schema and Config files (headings, text, font colours etc), and how to reference them in the homepage. I'm also fine with referencing set images in the assets folder which aren't going to change, and manually coding references to them.
However I can't quite seem to work out how to add a custom image upload to the theme editor, or how to reference it in a page. Can't seem to find any answers in the Stencil documentation or usual Google searches etc either.
The Stencil Theme Editor currently only supports the file upload data type in the Optimized One-Page Checkout customization settings, but there are a couple of possible workarounds to allow the user to upload their custom background image and then reference it in Theme Editor settings:
One option would be to have the user upload their image to WebDAV, making sure that their image followed a naming convention that you specified. For example, the Halloween image could be required to have the file name halloween.png. You could map that value to a Theme Editor dropdown setting for Holiday Background>Halloween.
Another solution might be to have the user upload their image to WebDAV as mentioned above, but instead of a dropdown menu, you could have the user type their file's name into a text input setting in the Theme Editor. Keep in mind though that there's a 64 character limit for input values.
Hope this helps!
There are 4 ways to get images into the BigCommerce store.
You can:
Upload into the content folder through webdav. Then the images would be referenced like url.com/content/image.jpg. This does require a webdav connection and while everything does point you to using file managers like cyberduck, you can actually map a drive to a network resource to make this super easy. This mean you can create a z drive that is actually your bigcommerce content upload through webdav. It's pretty easy to set up and for customers to use. The drawback is that these files do not get put on a CDN so there's a little loss of performance.
Upload into the theme's images folders. This is complex and would require your client to figure out the stencil local dev connection and push versions up to their store. This would allow the images to be CDN'd but is super complex and your clients won't figure it out... It could also expose you to some long-term version control issues as they may be overwriting you or vice versa.
You can use the media manager to upload images. If you're referring to them in code, an easy trick is when your clients want to replace an image, to delete it and upload a new one with the exact same name... then the reference doesn't break. This is the easiest way to deal with site-wide issues from the client-side. Images are CDN'd this way as well.
You can consider using the marketing banner function for semi-temporary marketing messages. This is what it is made for, the images will be CDN'd and it's full GUI with no techy connections for your clients to figure out. This is perfect for banners that span a single page, but I don't think there is currently a side-wide setting for locations.

dompdf no line height. Same code, different enviroment

I am having an issue with DOMPDF. My code should be fine and I can post if you really want to see it. I dynamically create an HTML page into a cache and then pass it to create the PDF.
I have some REAL BASIC CSS and even was able to use custom font when on LAMP. But even running it with stock fonts, forcing crazy line height in CSS and just about everything else I can think of. I am getting the same smushed text results when on my external linux server.
I have fought with this for days and have googled until my fingers have bled.
Thanks in advance for any advice.
WAMP/LAMP side by side

Is django-cms frontend editing suitable for a site with rotating parts

I've got the design for a website ready and now I'd like to implement content management in django. I've got a few years of experience in python development and I've done projects in django. I've looked into django-cms, played around with a demo and set up a quick example. I am happy to use django-cms 3beta2 (and fix some of the possibly occuring bugs on the way).
My question:
The pages of the planned website will consist of different parts, that I could construct from template blocks. The layout of the page is quite rigid, so there is not much possibility for the users to wildly combine template blocks, it would be easy to do frontend editing for an unexperienced editor.
However the webpages also contain a side bar with quotes from famous people and an image. These quotes and images should change randomly on each page load and they are not connected to the main content of the page. Can I still use frontend editing or is there a django-cms plug-in to do so? I image the problem to be that while frontend editing the quote showing up is randomly selected and I can edit the presented quote, but not the other ones. Would I have to ask the editor to resort to the backend? What would be a nice solution?
I am currently going through old questions that I've asked and that do not have an answer yet. Here is a solution:
One can write a cms plugin for django-cms that contains multiple inner placeholders. These inner placeholders are containers for the "famous quotes". If editing of the page is not active, the cms plugin randomly renders one (and only one) of the inner placeholders.

How to create a multiple effect textarea like google translate textbox?

Textbox of google translate (the left textbox- please view my screenshot: http://s970.photobucket.com/albums/ae190/swenteiger7/technology%20screenshot/?action=view&current=google_translate_textbox_event.png) have a lot of nice effects such as automatic highlight a word, automatically scaled ...
I am currently need to create a textarea so in my web application. I want to know a technology (prefer based on ajax and work well across platforms JSP) or website tutorials which help me to make a textbox like google translate textarea.
Thank you for viewing my question
Just to get you started see: https://developer.mozilla.org/en/HTML/Content_Editable and the links at the bottom of that page.
Basically it's not actually a textbox. It's a regular html element, but is marked as editable so people can type into it. But because it's regular html you can do special effects with it.

Resources