-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use Trix editor as WYSIWYG #63
Comments
I think depends on if only enable to (1) insert html or also (2) preview and/or (3) to convert other formats into code, like "code view" option https://summernote.org/. (1) could be papercut, the rest I d say requires more |
A couple of tech notes:
|
Confirmed in Papercut meeting: more than a papercut. |
@jaycmb @andrewpbrett I've created https://github.com/openfoodfoundation/wishlist/issues/122 . I tweaked a bit the template as I guess we want in that case to write a clear papercut, as we want to work on it. |
openfoodfoundation/openfoodnetwork#8768 concluded in favor of https://trix-editor.org/. I'm putting this back in the candidates column to see if introducing trix editor could be a papercut at next meeting. |
This needs a migration from the old editor to the new one. Not a papercut. |
Just curious, is there an update to this task? And to add, I assume the same editor would also replace the editor for product descriptions? |
@amdweb82 no we are really busy currently with the prioritize feature, so we didn't have room to prioritize this one :( |
Hi @amdweb82, |
Hello @openfoodfoundation/train-drivers-product-owners The major requirements as I understand (correct me if I'm wrong in some of them or if I missed something) are:
Trix functionalities that we don't want
|
So if Trix doesn't support html or markdown what does it do? I agree with @Matt-Yorkley that HTML is very risky and I'd prefer markdown based input. @RachL Can you comment on why full HTML is required? Do you have specific needs so we can compare to markdown options to avoid the vulnerabilities? |
@lin-d-hop As described in the spike: openfoodfoundation/openfoodnetwork#8768 the main need is for hub managers to be able to insert videos or newsletter subscription box in their about tab. In CMS like wordpress this is often done or edited straight in html, that's why the original issue mentions html. We discussed this in delivery circle yesterday and came to the conclusion we cannot do newsletter subscription. We will still pursue with adding trix editor. |
What is the need / problem?
Our WYSIWYG does not allow to insert HTML code for the moment:
Which type of users does this problem affect (and how many, if known)?
- Shoppers
- Hub Managers (MCFEs)
- Producers
- Instance Managers
Hubs or producers with no websites have few options to customize their home and about tab. If a hub or a producer would like to copy paste an iframe for let’s say a video or a widget to subscribe to their newsletter they can’t. Yes they might f*** up completely their home page, but they can also ask support to design it nicely for them. I can’t name drop hubs here but we have some pretty awful home pages with the current customizations available.
Potential solutions that will solve the problem ?[[brainstorming to list feature candidates]
One WYSIWYG editor that I love: https://summernote.org/
But we don’t need to go that far, just being able to insert html would be nice I think.
Connected wishlist and discovery discussions* [list precedent discussions]
https://community.openfoodnetwork.org/t/be-able-to-add-html-to-an-enterprise-about-page-or-home-tab/2096
Additional context
Is Papercut or feature candidate?
Potential papercut
The text was updated successfully, but these errors were encountered: