Skip to content

Commit 5b2d898

Browse files
committed
Only disable WSC in quickupload, keep it in other input and textarea
1 parent ba9bbd1 commit 5b2d898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/install_wsc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
if WSC_DISABLE:
3737
webspellchecker_config.set_enabled(False)
3838
logger.info("Webspellchecker disabled.")
39-
# by default only use WSC in rich text fields
40-
webspellchecker_config.set_disable_autosearch_in(u'["input", "textarea"]')
39+
# by default disable WSC in quickupload as it breaks added annexes
40+
webspellchecker_config.set_disable_autosearch_in(u'["#form-widgets-title", "#form-widgets-description"]')
4141
transaction.commit()

0 commit comments

Comments
 (0)