Closed Bug 767718 Opened 12 years ago Closed 12 years ago

Kuma: Editor - Styles dropdown needs to be changed

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheppy, Assigned: davidwalsh)

References

Details

(Whiteboard: u=user c=wiki s=2012-07-03 p=1)

The current Styles dsropdown menu is pretty much useless for us. We need to change it to be more like this:

  config.stylesSet =
  [
    { name: "None", element: 'p' },
    { name: "Note box", element: 'div', attributes: { 'class': 'note' }},
    { name: "Warning box", element: 'div', attributes: { 'class': 'warning' }},
    { name: "Callout box", element: 'div', attributes: { 'class': 'geckoVersionNote' }},
    { name: "Plaintext (nowiki)", element: 'span', attributes: { 'class': 'plain' }},
    { name: "Two columns", element: 'div', attributes: { 'class': 'twocolumns' }}
    { name: "Three columns", element: 'div', attributes: { 'class': 'threecolumns' }}
  ];

There maybe more stuff we want to do but this is a good start. Must happen before launch.
Blocks: 756263
Blocks: 766658
No longer blocks: 756263
Assignee: nobody → dwalsh
Whiteboard: u=user c=wiki s=2012-07-03 p=1
Was resolved with:

https://github.com/mozilla/kuma/pull/306
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Version: Kuma → unspecified
Component: Website → Landing pages
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.