Significant Quill WYSIWYG Editor problems (v11)

@jignesh_shah can you speak to the process to allow Jodit to handle additional DocTypes?

In the meantime, this is a general workaround to get Raw HTML into a DocType: Letter Head HTML / Table Setup

Super that is indeed a working work around.

1 Like

Approach is
Hides Text Editor (Quill) field
Creates a new HTML field to render Jodit on doctype UI
Ultimately, stores value in hidden TextEditor field

Inside desk , for doctype it is done for Item doctype > Website Description field
One may fork the app https://github.com/ashish-greycube/jodit_html_editor and extend for the doctypes one is interested in(say Sales Order).

In general one can refer readme for details.

1 Like

We’ve tried to use HTML Editor (in-built one) instead of Quill but we get our texts jumping all over on the lines of text. It decides to take some letters and put them in the end of the whole text. So, a complete mess as a result.

Definitely we need an editor that is user friendly. The real end-users of the ERP won’t know anything about HTML, any other code language and would like to make nice texts, letters, terms etc for their clients.

1 Like

Have you got the solution?, even i am facing same problem.

It’s painfull to use the editor :sweat:

env

ERPNext: v11.1.15 (master)
Frappe Framework: v11.1.15 (master)
Python: 3.6.3

2 Likes

Definitely following this for sure. I was also searching similar and end up on this forum. Also, Hi! I am new to this article forum. Would like to learn and share a lot things in the future.

ERPNext is great. Buggy? Sure. A bit cumbersome to deploy? You bet. Powerful? Absolutely. Unfortunately, this is such a basic “bug” that it is going to make the entire system unusable for so many potential users/clients of the system. It really is a shame as it appears to be a nose cutting exercise.

4 Likes

It’s a tough problem. Supporting users back in the wordpress days, there was the usual tinymce, ckeditor etc.

Users would always break the layout, and need help cleaning it up / fixing stuff. CKEditor got to a certain point where it wasn’t too bad.

I note that wordpress has gone to its gutenburg editor into the fture

Their userbase is absolutely huge, and it may be something to keep an eye on. I remember using it in wordpress 5 when it first came out and it was annoying as a developer, but as an end user, I think it makes more sense for them…

Just something to consider, whereby they are abstracting away the html from the user, to the point where they can’t break it so much and have re-usable component blocks. Kind of similar to the javascript folks with vue and angular 4 and react with re-usable components.

3 Likes

Filed a GitHub Issue with reproduction scenario. Could someone check if it’s reproducible in other installations? Just to know if it’s speciffic to my environment. (apparently not)

I found no solution. What I did is I changed the editor in the T&C form so I can insert the lay-out I want. The result is exactly the formatting we want, but the end-user cannot modify the text or he looses the formatting.

Editing rich text is separate from editing HTML. We have personally been using Quill for a while and it seems a big improvement on Summernote, which stopped being supported.

Table editing is a problem, other than that it’s seems pretty good. We are watching this space.

@MichaelPinkowski Thanks for this. Do you know of a way to reverse the changes on this? Able to uninstall, but now the quill editor is hidden, along with the fields after uninstall. E.g., I can no longer see the Website Description field in Item edit screen.

Sorry, I haven’t tried to reverse the process.

You may go to the customize form > Item doctype > Website Description = Unhide it.

2 Likes

Thank you kindly.

It seems also that can’t add an image in the email footer. If adding with an available standard editor, it comes as a broken image path that uses “site1.local” instead of the domain in the path.

For Table editing can it be possible to use [quill-better-table]

any solution to the table problem sir ?

Looks like Quill editor still has difficulties processing table in 2022.