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)
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.
| Reporter | ||
Comment 1•12 years ago
|
||
FWIW, this could be considered as either a cousin to or a special case of bug 907294, depending on how we do it.
| Reporter | ||
Comment 2•12 years ago
|
||
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.
Comment 3•12 years ago
|
||
(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.
Comment 4•12 years ago
|
||
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.
Updated•12 years ago
|
Summary: Support a collection of reusable content blocks in wiki editing → [MVP] Support a collection of reusable building blocks in wiki editing
Updated•11 years ago
|
Comment 8•10 years ago
|
||
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
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•