Page MenuHomePhabricator

Add new parameter for Style in Quiz
Open, MediumPublic

Description

Add a parameter to Quiz extension that can add styles to different classes.

The Parameter must map classname to style attribute.

Event Timeline

Example case :

<quiz style="classname_1:style_1;classname_2:style_2">

But this way the style will be added to class at the backend.

"style" won't work as a parameter for the same reason we can't do this using table ethier, because we don't know which classes/tags to apply the style to.

Example case :

<quiz style="classname_1:style_1;classname_2:style_2">

But this way the style will be added to class at the backend.