ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Significant Quill WYSIWYG Editor problems (v11)


#21

thanks alot but this updated only
Web page
web form
item

i need to use it in terms and conditions for sales orders and quotations ??


#22

Exactly my problem. I need this in T&C as I have coded a lot of them and select the needed one in custom script. So I cannot use an html field as the content of this field should need to change depending on a number of conditions.


#23

@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


#24

Super that is indeed a working work around.


#25

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.


#26

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.


#27

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


#28

It’s painfull to use the editor :sweat:

env

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


Letters getting jumbled up randomly - Quill Editor
#29

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.


#30

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.


#31

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.


#32

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)


#33

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.


#34

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.


#35

@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.


#36

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


#37

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


Show Price in website
#38

Thank you kindly.


#39

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.