Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The yellow warning box created by <div class="warning">
looks great:
http://drupal.org/project/metatag
This functionality should be added to the Filtered HTML input format so everyone can make use of it.
Comments
Comment #0.0
fizk CreditAttribution: fizk commentedgrammer.
Comment #1
tvn CreditAttribution: tvn at Drupal Association commentedWe are working on cleaning up Drupal.org-related issue queues. Many issues have been open for years with no resolution because there were no volunteers interested in taking on the task or staff time available to complete the work.
We are going through old issues and marking them as Closed (won't fix). If you feel your issue has been closed in error, please do comment on the issue and let us know. If we know something is critical, we may reconsider the closure of a feature request or bug report.
Thank you for your understanding while we work to clean up the Drupal.org queues.
Comment #2
fizk CreditAttribution: fizk commentedI still think it would be a good feature. Here is how it looks:
https://www.drupal.org/node/640498/revisions/2260874/view
Comment #3
apadernoThe input formats are defined in custom code used from Drupal.org.
Comment #4
drummFiltered HTML does allow this, for example:
Content types which have CKEditor enabled have a template button which adds
<div class="note-warning"><p></p></div>
https://git.drupalcode.org/project/bluecheese/blob/23befa80494d2e4847b64...
This is a test.
Comment #5
ressa CreditAttribution: ressa at Ardea commented<div class="note-warning"><p></p></div>
works well, which is great.But the class is not available from the style dropdown in the documentation pages. Users who know a work-around copies it from an issue template, other users (me) tries with the wrong class (
deprecated
) which gets stripped ...See Quick install Drupal with XAMPP on Windows Discussion.
Also, could supported classes be listed under More information about text formats?
Comment #6
ressa CreditAttribution: ressa at Ardea commentedUpdate title, since both
note-warning
andwarning
are supported.Comment #7
ressa CreditAttribution: ressa at Ardea commentedNevermind, the
note-warning
class is available. @hansfn kindly made me aware of the options under the "templates" icon, which I completely overlooked until now.