Expose tag settings

Created on 3 December 2015, over 8 years ago
Updated 3 February 2023, over 1 year ago

BBCode tag plugins can define settings, which are part of the plugin configuration and therefore technically editable for each text format.

This would allow, eg., a [code] tag that has line numbers turned on or off by default.

Unfortunately, those settings currently can't be changed without editing the site configuration directly. They should probably be editable in a modal ( Drupal 8 actually has those! β†’ ) to avoid cluttering up the main table.

For full tag plugins, this is just a matter of adding a TagPluginInterface::settingsForm().

For entity-based tags, the form must be generated from inspecting the schema (which lives under xbbcode.tag_settings.{...}) for the appropriate types and labels.

✨ Feature request
Status

Active

Version

5.0

Component

Plugin system

Created by

πŸ‡¨πŸ‡­Switzerland cburschka

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024