This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git.
Pull mirroring updated .
- Jan 12, 2022
- Jan 05, 2022
-
-
rhenck authored
This is for the different use saces of a simple text element and a cloze element. The latter needs more inputs for child elements and also return JSON instead of HTML.
-
rhenck authored
The NodeViews are for the TextEditor to render Angular components, which now serve as preview instead of the old backslash escaped characters. All extensions are now placed in a specialized directory. Except the NodeView stuff which is kept together.
-
- Dec 17, 2021
-
-
rhenck authored
Also improve tooltips.
-
- Dec 16, 2021
-
-
rhenck authored
-
- Dec 15, 2021
- Dec 09, 2021
-
-
rhenck authored
-
- Dec 07, 2021
-
-
rhenck authored
-
- Dec 06, 2021
-
-
rhenck authored
-
- Dec 03, 2021
-
-
rhenck authored
-
- Dec 02, 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 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 24, 2021
-
-
rhenck authored
The tooltip declarations does not need escaped text. Was shawing one to many backslashes.
-
- 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
-
- Nov 19, 2021
- Nov 18, 2021
-
-
rhenck authored
This looked bad having a null value in the DOM. 16 is the default font size of the app right now.
-
rhenck authored
- Reordered the buttons to make it look nicer (but still make sence logically) - Put some more divs with flex layouting to prevent elements moving unexpextedly. - Changed color and list inputs to split-buttons. Those compone a button with a dropdown. - The editor now saves the set color and it can be applied to subsequent selections as well.
-
rhenck authored
ProseMirror seems not to allow editing text nodes. Since a text node can be a child of an element being applied the bullet list to, it fails for that text element. It seems it was workingly correctly before. The error seen on the console was inconsequential since we don't want to apply attributes to pure text nodes anyway. This change at least removes this error.
-
- 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.
-
- Oct 25, 2021
-
-
rhenck authored
Since no default size is set, the default font size is set to 16px, which is the browser(?) default on my PC.
-
rhenck authored
Before it was done with a dysfunctional hack. Now with proper extensions to existing (tiptap-node-)extensions. Also reads existing style and sets select-element accordingly.
-
- Oct 18, 2021
-
-
rhenck authored
The main components are right at top level and the directories below mimic the data structure (unit->page->section). The toolbar is only used in dev mode and does not belong directly to the unit view. The TextEditor is a complex component and deserves it's own directory even though it is used within the unit-view. Might be refactored to its own module later.
-