Closed Bug 907299 Opened 12 years ago Closed 10 years ago

[MVP] Support a collection of reusable building blocks in wiki editing

Categories

(developer.mozilla.org Graveyard :: Editing, enhancement)

All
Other
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lorchard, Unassigned)

References

Details

(Keywords: meta, Whiteboard: [specification][type:feature])

What problems would this solve? =============================== Certain patterns of markup are common and reused on many pages. It would be handy to have an in-editor list of these patterns to easily drop them into a page being edited Who would use this? =================== Writers, editors What would users see? ===================== Probably as a button in CKEditor, which would summon up a dropdown selector. The selector would be populated from titles found in a special pre-configured section of the site, the subpages of which would each provide a reusable markup block. What would users do? What would happen as a result? =================================================== When one of the reusable blocks is selected, the markup will be inserted at the cursor position in the editor. This, and the list of blocks, can probably be fetched via AJAX using the wiki API Is there anything else we should know? ====================================== It's important to note one block per wiki page in this reusable blocks section. That makes it easier to edit & manage each of them.
FWIW, this could be considered as either a cousin to or a special case of bug 907294, depending on how we do it.
It's also worth noting that we could do this kind of thing with KumaScript templates. But, there are probably cases where copying & pasting the markup from a canned example is better than executing a macro.
Blocks: 861991
Blocks: 907294
(In reply to Les Orchard [:lorchard] from comment #2) > It's also worth noting that we could do this kind of thing with KumaScript > templates. But, there are probably cases where copying & pasting the markup > from a canned example is better than executing a macro. Using macros requires some understanding of the concept of macros, and is more sensitive to syntax and other issues. Being able to insert template blocks of HTML is probably less fragile, and is pretty clearly more user-friendly.
Of course, we also would want to be able to use KumaScript macros in these blocks, to make use of various automation techniques, etc. Boy howdy, I'm looking forward to this.
Summary: Support a collection of reusable content blocks in wiki editing → [MVP] Support a collection of reusable building blocks in wiki editing
Depends on: 937231
Depends on: 937232
Depends on: 937236
Depends on: 937238
Depends on: 937239
Depends on: 937243
bumping to P1 for post-redesign.
Priority: -- → P1
Blocks: 912266
This is a feature, not a bug, so I'm moving it out of P1.
Priority: P1 → --
Severity: normal → enhancement
Component: General → Editing
Keywords: meta
At some point we may want to simplify the Editing UI, but I'm neither sure this will be the way, nor if it will happen in the next few years: we have so many other things to do before. Closing this.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.