This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git.
Pull mirroring updated .
- Nov 20, 2021
-
-
rhenck authored
-
rhenck authored
The font size is applied by setting the list style. This is a workaround, since the list extension does not support setting font size directly. It takes the selected font size (which is now saved ina variable) and applies it. This is indepent of the font size of the text in the list. The item font size is done individually with a span anyway. Also font size and list style droplist now (re-)apply the value on click of an item. This allows updating font sizes and list styles without having to select another option first. - Add a new variable to save the selected font size and reuse it for list styles.
-
rhenck authored
(when not set)
-
rhenck authored
-
rhenck authored
No longer needs the appropriate section, but instead loops through all page sections. It was somewhat complicated to know the corresponding section and this solution solves that. Though at the price of some unnecessary element lookup. Another upside is that elements from different sections can be deleted simultaneously.
-
- Nov 19, 2021
-
-
rhenck authored
-
rhenck authored
Child elements need some special CSS, for example to prevent taking up more space than needed. This is only for text field and drop list, which are the relevant sub elements for now.
-
rhenck authored
Button is no InputElement which causes trouble in some places. Since it does not make much sense in the Cloze context it is just removed.
-
rhenck authored
-
rhenck authored
The problem that was to be solved is that buttons within a form always cause form validation for all form elements. Which is not wanted here. The better solution than preventing all event is to simply declare the button type. As button without any type are treated as submit buttons.
-
rhenck authored
This new class makes sense logically, does not have an effect on the children though.
-
rhenck authored
A new variable is introduced for CompoundComponents: "allowClickThrough". With this set components can set their children and overlays to allow clicking on child elements or not. In the editor this is not wanted as the elements internal structure is different and the resulting event target can not be reliably styled. There we need the (span) overlay. In the player though elements should be clickable as usual. The player can completely ignore this setting as it is on true (allowing clicking) by default.
-
jojohoch authored
- Remove fallback of TranslationService to allow empty error messages that can still cause red borders - Remove the case distinction for checkboxes, since the requiredTrue validator also sends required as errorKey and a special fallback text is no longer used
-
jojohoch authored
Since CompoundElementComponent now inherits from ElementComponent, a case distinction can no longer be made implicitly via the property domElement.
-
rhenck authored
They both have an element model and makes sense that a compound component is also a 'normal' component.
-
rhenck authored
SHould now always correctly line up with the text even on different line heights.
-
rhenck authored
Need to bubble the event further up to where there is a section reference.
-
rhenck authored
-
rhenck authored
Was not correctly setting the pointer event for ClozeComponents.
-
jojohoch authored
-
rhenck authored
-
rhenck authored
-
rhenck authored
This uses a special event fired only by ClozeComponent, but potentially future compound elements as well. The selection service gets a special method bypassing the usual selection logic and just firing the selection event for the props panel.
-
rhenck authored
-
rhenck authored
-
rhenck authored
Similar to a text element but parses the text on change an replaces markers with actual elements. The text is then displayed inline with the elements.
-
rhenck authored
This allows to use them in template bindings. Used in compound elements.
-
rhenck authored
-
- Nov 18, 2021
-
-
rhenck authored
Improve general structure. Image situation still bad.
-
jojohoch authored
-
jojohoch authored
Since sections in dynamic mode require the "contents" display setting the background color setting must be outsourced. This way scroll bars are avoided.
-
rhenck authored
-
rhenck authored
- Images now scale up and down depending on the available space. - The new property controls the first (column) size parameter for the grid. The others are fixed at 1. Decimal values are allowed for fine-tuned control. This prop is passed on to the child likert-row component. It uses the same grid and needs this info for proper alignment with the column headers. - Remove unnecessary div in likert
-
rhenck authored
-
rhenck authored
-
rhenck authored
- List items only have a margin between then but no longer on the outside. - Remove unused background color. This is set dynamically in the template.
-
rhenck authored
-
rhenck authored
-
rhenck authored
This looked bad having a null value in the DOM. 16 is the default font size of the app right now.
-