You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.
The text format selector on some content types could use some hacking...
Drupal does not allow a default text format to be set for fields if the default value is empty. The only way to set a default text format is globally, by reordering them at /admin/config/content/formats. We need to limit some fields (like the rscl_link field) to only one text format (say, HTML). This can't be done in the rsc_library module, since text formats have to be created manually (you can create them programmatically, but it causes problems when adding / removing text formats or content types).
The entire text format selector should be hidden if there is only one available (or sensible) text format for a given field.
The selector form itself could use some work. Maybe hide the filter help text with a bit of JS, or remove it completely? It is of little to no use to non-technical users anyway.
rscl_summary should always use a text format with automatic [[tagging]]
full_text should always use Full (or at least quite permissive) HTML
Maybe some code from the better_formats module can help.
The text was updated successfully, but these errors were encountered:
Migrated from https://github.com/refstudycentre/misc/issues/3
The text format selector on some content types could use some hacking...
Drupal does not allow a default text format to be set for fields if the default value is empty. The only way to set a default text format is globally, by reordering them at
/admin/config/content/formats
. We need to limit some fields (like therscl_link
field) to only one text format (say, HTML). This can't be done in thersc_library
module, since text formats have to be created manually (you can create them programmatically, but it causes problems when adding / removing text formats or content types).The entire text format selector should be hidden if there is only one available (or sensible) text format for a given field.
The selector form itself could use some work. Maybe hide the filter help text with a bit of JS, or remove it completely? It is of little to no use to non-technical users anyway.
rscl_summary
should always use a text format with automatic [[tagging]]full_text
should always use Full (or at least quite permissive) HTMLMaybe some code from the better_formats module can help.
The text was updated successfully, but these errors were encountered: