View Issue Details

IDProjectCategoryView StatusLast Update
0004579Composrcore_form_interfacespublic2021-02-03 22:37
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version10.0.34 
Fixed in Version10.0.35 
Summary0004579: Various CKEditor integration improvements
DescriptionSome testing has been done, comparing our CKEditor integration to Microsoft Word and noticing the biggest discrepancies. Also there has been some user feedback.

While we don't get in the business of developing CKEditor in depth (it's a whole large OSS project of its own), we do tune things around the edges for our users where we reasonably can.

Changes:
1) Allow configuring the browser's built-in spellchecker to be enabled by default (for the trade-off of having to turn on list/table context editing if you need that)
2) Allow configuring regular font-sizing (for the trade-off of edited text not having text sized relatively when displayed at different base sizes)
3) max-width:100% images such as large attachments caused a scrollbar due to the image resizing control overflowing out of CKEditor. Workaround this.
4) Add background colour button to toolbar (text highlight). It's useful enough for people to want it.

It was remarked to us that column sizing in tables is awkward. This actually works well enough, you can drag the dividers between cells to change the sizing. This sets explicit pixel widths on each cell, which I don't love, but it does work. By default the tables are 100% width, meaning that if the table is sized to a different size to the editing window any space difference will be proportionally allocated.

To enable spellchecking by default, enter this Commandr command...

:set_value('wysiwyg_spellchecker_default', '1');

And clear the template cache.

To have normal font size units, enter this Commandr command...

:set_value('wysiwyg_normal_font_sizes', '1');

And clear the template cache.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

admin

2021-02-03 22:33

administrator   ~0006928

Last edited: 2021-02-03 22:37

View 2 revisions

Fixed in git commit 5e0677afb (https://gitlab.com/composr-foundation/composr/commit/5e0677afb - link will become active once code pushed to GitLab)

admin

2021-02-03 22:36

administrator   ~0006930

Last edited: 2021-02-03 22:37

View 2 revisions

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).



hotfix-4579, 2021-02-03 10pm.tar (33,280 bytes)

Issue History

Date Modified Username Field Change
2021-02-03 22:37 Chris Graham Note Edited: 0006930 View Revisions
2021-02-03 22:37 Chris Graham Note Edited: 0006928 View Revisions