Page MenuHomePhabricator

Find a way to easily initialize new fragments added to a section
Closed, ResolvedPublic

Description

Description

If we have a collection of html syntax functions, we can create a UI in which, when clicking [ + ] we get a list of options such as "Add paragraph", "Add section title", "Add list", and clicking on each option creates the function call for the corresponding paragraph, section title, list function.

Desired behavior/Acceptance criteria

  • Users can directly add html elements such as title, paragraph, table, etc. without having to search through available functions
  • Community can configure these options as they add more html util functions

Completion checklist

Event Timeline

gengh claimed this task.

Change #1239957 had a related patch set uploaded (by Jforrester; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Add configurable Add-fragment menu button

https://gerrit.wikimedia.org/r/1239957

Change #1239957 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add configurable Add-fragment menu button

https://gerrit.wikimedia.org/r/1239957