django-cms / djangocms-style

django CMS Style is a plugin for django CMS that allows you to create a HTML container containing classes, styles, ids and other attributes.
https://marketplace.django-cms.org/en/addons/browse/djangocms-style/
Other
38 stars 22 forks source link

"Style" Plugin needs more HTML attribute options #19

Closed bartmika closed 7 years ago

bartmika commented 8 years ago

I am looking to add a "Style" plugin so I can write the following code:

  <div class="container-fluid">

But when I look in the Advanced Settings I don't see any ways to add the particular HTML attribute. screen shot 2015-11-26 at 10 32 58 am

I would like to open up a ticket to allowm more HTML attribute options to be available for the Style Plugin, more specifically:

bartmika commented 8 years ago

Here's another example. I want <article class="text-center"> so I:

Step 1: Add Style placeholder and fill in classes. screen shot 2015-11-26 at 4 36 36 pm

Step 2: Then refresh page after saving and I don't see the class field being updated: screen shot 2015-11-26 at 4 37 27 pm

So in summary, if you can grant the style plugin placeholder to allow more HTML attributes that would be great!

FinalAngel commented 8 years ago

@bartmika thank you for the issue report, I'll have a look at it!

FinalAngel commented 7 years ago

fixed in https://github.com/divio/djangocms-style/pull/25