Commit Graph

11 Commits

Author SHA1 Message Date
Milan Crha e913552a59 e-editor.js: EvoEditor.LoadHTML: Preserve theme CSS
To preserve the look as the theme defines it.
2020-06-05 09:32:32 +02:00
Milan Crha 7d5dbf03d9 Composer: Asks for format change on Plain Text draft open
The composer asked for format change from HTML to Plain Text when
opening Plain Text draft message, due to missing attribute in the draft.
2020-06-05 09:19:24 +02:00
Milan Crha 34e28ff149 I#966 - Composer: Correct caret placement around signature wrapper
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/966
2020-06-04 17:50:48 +02:00
Дилян Палаузов c07bca12e0 M!53 - data/webkit/*.js: change the emacs mode to JavaScript
Closes: https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/53
2020-05-12 07:52:23 +00:00
Milan Crha 30986bcd41 I#783 - e-editor.js: Remove body margin/padding styles and attributes
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/783
2020-05-06 19:09:04 +02:00
Milan Crha 28e24e0297 e-editor.js: Block format change doesn't set DIV width in Plain Text mode 2020-04-29 14:23:20 +02:00
Milan Crha 6d39ec9824 e-editor.js: Remove all body attributes when using Plain Text mode 2020-04-29 13:48:33 +02:00
Milan Crha edab7d02a8 e-editor.js: Fix various issues related to citation editing 2020-04-29 12:56:37 +02:00
Milan Crha dded38ef58 e-editor.js: Normalize blockquote-s for replies/forwards
Noticed on a Gmail generated quotation, which broke the editor/convert code.
2020-04-28 17:24:39 +02:00
Milan Crha 9ebe232b79 e-editor.js: Remove insignificant new lines when pre-processing loaded HTML
Insignificant new lines in the text are those in regular <div> and such,
where the white-space style doesn't mean to keep them. Those could cause
trouble when switching from HTML to the Plain Text mode, like to have doubled
new lines. WebKit doesn't remove them on its own, unfortunately, thus this
special processing is needed.
2020-04-28 10:45:01 +02:00
Milan Crha fcd4768b2e EWebKitEditor: Switch to JavaScriptCore API
The C DOM API had been deprecated since WebKitGTK 2.22. This is
the editor rewrite to use the new API.
2020-04-27 15:06:56 +02:00