TACC / Core-CMS

The Core CMS codebase used by TACC Portals.
https://cep.tacc.utexas.edu
2 stars 1 forks source link

feat: tup-548 allow showing djangocms-icon label #696

Open wesleyboar opened 1 year ago

wesleyboar commented 1 year ago

Overview

Allow the "Label" field of an Icon plugin instance to be rendered as text on the page.

Background The "Label" field was only used for Structure Mode, to _label_ the Icon plugin instance. The use case is a Link plugin that needs an Icon and Text inside, but the Text plugin (by default) wraps content in a `

` tag, so this will let us avoid that `

` tag by not using Text plugin—just show the Icon "LabeL" to get non-`

` text.

Related

Changes

Testing

1.

UI