CuBoulder / ucb_migration_shortcodes

A module that works alongside the Shortcodes module to ease the burden of migration.
0 stars 0 forks source link

Updates give button shortcode to prepare for migration to plugin #52

Closed jnicholCU closed 1 month ago

jnicholCU commented 2 months ago

Changed html template to match the ckeditor 5 button plugin html.

Button does not have a light gray or dark gray option so I set dark to be black and light to be gray as to emulate the same color options.

I also added logic for style to be set to "default" instead of "regular" as there was no differentiation in D7

Resolves CuBoulder/ucb_migration_shortcodes#34

timurtripp commented 1 month ago

I don't think we want this wrapped in a <p>, unless I'm mistaken?

timurtripp commented 1 month ago

Use raw instead of t

jnicholCU commented 1 month ago

Closing because of some weirdness with the git branch. Reopening from new branch.