unlcms / project-herbie

Drupal 10 implementation at the University of Nebraska–Lincoln
https://cms.unl.edu
GNU General Public License v2.0
5 stars 6 forks source link

Limit Text Format options in different contexts. #93

Closed ericras closed 4 years ago

ericras commented 4 years ago

Currently on /node/add/builder_page you get the option to choose Standard or Webform for the text format. Switching to Webform and saving can cause data loss.

ericras commented 4 years ago

https://www.drupal.org/project/drupal/issues/784672

macburgee1 commented 4 years ago

This core issue is 9+ years old. We're better of continuing to use Allowed Formats.

macburgee1 commented 4 years ago

The commit herein limits the Body field on both the Builder Page and the Book content types to the 'Standard' text format.

ericras commented 4 years ago

If that commit is cool, go ahead and merge.

macburgee1 commented 4 years ago

That sounds good. They name of the text format won't be exposed to end users.