This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git.
Pull mirroring updated .
- Jan 20, 2022
- Jan 18, 2022
-
-
jojohoch authored
- Implement marking buttons as toggle buttons
-
- Jan 06, 2022
- Jan 04, 2022
-
-
jojohoch authored
-
- Dec 16, 2021
-
-
rhenck authored
Elements are supposed to be centred when this setting is used. Since it is the same CSS for almost all element components it is put into global styles. Missing components: video, spelling.
-
- Dec 06, 2021
-
-
rhenck authored
-
- Dec 01, 2021
-
-
rhenck authored
This controls the general font size. Specific spans can still be styled individually in the text editor. - The TextEditor also uses this font size as default when rendering the text.
-
- Nov 29, 2021
-
-
jojohoch authored
-
- Nov 26, 2021
-
-
jojohoch authored
-
rhenck authored
The problem being solved is that compound-sub-elements must not have all the properties other elements have. For exampe positioning info. Sub-Elements are positioned inline. To avoid having similar class inheritance structures for positioned and inline elements, we use interface. Positioning is done via interface and is therefore optional. Those optional properties are kept in an object in a variable. This allows to hide specifics from element classes and removes the need to initialize all the fields in every class using the interface. The elements mostly care about their own specific properties anyway. The same technique is used for font and surface elements. Here we also don't want to initialize all the styles in every class. Changing values of element properties works like before. Just set the property as if it would be a direkt prop of the element. The element itself puts the value in the currect sub-object (positioningProps, fontProps etc). For reading the values there is a similar method, but it is not used anywhere by now. Since the properties panel operates on the raw values anyway (refer CombinedProperties) and for element components this would mean calling a function in the template, which caused change detection to run the function very often and is therefore bad practice. Additional notes and refactorings: - Restructure all files in common. UIElements in the same folder etc. - Move all interfaces to the UIElement file. This avoids circular imports, which would be needed to allow PositionedElement to extend UIElement. - Interface initializers also handle reading values in the old form. - Add PositionedElement for use in canvas overlays. This is a UIElement with guaranteed postionProps. - Don't export all Material packages from common, only the ones used in player and editor. The rest is only used in common and does not need to be exported.
-
- Nov 25, 2021
-
-
rhenck authored
Highlighted (background colored) text is done with mark elements which don't have a color and make the contained text lose the styling of the parent span, which has the text-color property. To solve it we simply inherit the color of the parent span.
-
- Nov 22, 2021
- Nov 19, 2021
- Nov 15, 2021
-
-
jojohoch authored
The MarkingService now takes care of the selection and its validation. The text component sends its change via elementValueChanged.
-
- Nov 11, 2021
-
-
jojohoch authored
-
- Nov 03, 2021
- Nov 01, 2021
- Oct 28, 2021
-
-
rhenck authored
This improves bold text readability. This has to be done in the actual element, in the TextEditor and on the properties panel.
-
rhenck authored
Other elements do implement the interface but do nothing with the property. This make all the interface handling a lot easier at the cost of having useless variables in some contexts.
-
jojohoch authored
-
- Oct 21, 2021
-
-
jojohoch authored
-
- Oct 18, 2021
-
-
jojohoch authored
-
- Oct 15, 2021
- Oct 13, 2021
-
-
rhenck authored
- Remove interfaces - Add classes for all elements as well as unit, page and section - 2 intermediate interfaces are kept. They dont constituate a viable object but only additional properties, like background-color. Those can be added as interface to all elements. Initialisation has to be done by the element itself though and not by some constructor higher up.
-
jojohoch authored
-
jojohoch authored
-
- Oct 07, 2021
-
-
rhenck authored
-
- Sep 29, 2021
-
-
rhenck authored
-
- Sep 24, 2021
-
-
jojohoch authored
-
- Sep 23, 2021
-
-
jojohoch authored
to prevent unnecessary scroll bars from appearing
-
- Sep 20, 2021
-
-
rhenck authored
This is preliminary and will be reworked in the future.
-