View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
18137Feature requestsTheme editorpublic2022-05-21 10:08
Reportertammo Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Summary18137: Add (sub-)question code as a class to html of (sub-)question
Description

Use case:
when using javascript or when styling the question code and/or subquestion code as a class can tremendously help the developer targeting questions or subquestions.

For example when reordering or when setting certain subquestions as titles in MC questions.

TagsNo tags attached.
Bug heat2
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

tammo

tammo

2022-05-21 10:06

partner   ~69948

example: question code is q01
class added to highest level of HTML of question is q01

tammo

tammo

2022-05-21 10:08

partner   ~69949

css may contain statement like:

div[class^="q"] {
background: #ffff00;
}

https://www.w3schools.com/cssref/sel_attr_begin.asp

Issue History

Date Modified Username Field Change
2022-05-20 17:18 tammo New Issue
2022-05-21 10:06 tammo Note Added: 69948
2022-05-21 10:06 tammo Bug heat 0 => 2
2022-05-21 10:08 tammo Note Added: 69949