Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Apr 22, 2022
  2. Feb 21, 2022
  3. Feb 17, 2022
    • rhenck's avatar
      Rework models from classes to interfaces · f416ce14
      rhenck authored
      This removes all the classes and goes back to simple interfaces for
      unit, pages etc and all elements. This makes creating them easier and
      cleaner.
      Things like specific needs when setting element properties and most
      importantly compatibility handling is done by a special service module,
      that knows all the elements and how to repair old their potentially
      outdated definitions.
      f416ce14
  4. Feb 09, 2022
    • rhenck's avatar
      Change all selector prefixes from "app" to "aspect" · a6bdf445
      rhenck authored
      This is done according to the Angular best practices and minimizes
      namespace collisions when using other packages which might use the same
      selectors.
      
      Technically the selectors are not even becessary since we use an Angular
      component factory to create element components but it is still useful
      for the DOM element naming, for debugging purposes for example.
      a6bdf445
  5. Jan 17, 2022
  6. Jan 13, 2022
    • rhenck's avatar
      [editor] Fix TextEditor fontSize extension · 18069bd1
      rhenck authored
      Was broken after previous refactoring.
      The renderHTML method only works with a proper return. Don't know why. 
      Therefore disregard the linter warning for now.
      18069bd1
  7. Jan 12, 2022
  8. Jan 05, 2022
    • rhenck's avatar
      [editor] Introduce TextEditor mode · df606006
      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.
      df606006
    • rhenck's avatar
      [editor] Add TextEditor NodeView extensions and improve file structure · 97be7f51
      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.
      97be7f51
  9. Dec 15, 2021
  10. Dec 06, 2021
  11. Dec 03, 2021
  12. Dec 02, 2021
  13. Dec 01, 2021
    • rhenck's avatar
      Make text element have a font size again · 54f8119e
      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.
      54f8119e
  14. Nov 20, 2021
    • rhenck's avatar
      Change default font size to 20px · 0e46f8ec
      rhenck authored
      0e46f8ec
    • rhenck's avatar
      [editor] Add font size to lists in TextEditor · 3a8d856e
      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.
      3a8d856e
    • rhenck's avatar
      [editor] TextEditor: Change list button behaviour to toggle list · 284b1886
      rhenck authored
      (when not set)
      284b1886
  15. Nov 19, 2021
  16. Nov 18, 2021
    • rhenck's avatar
      [editor] Improve TextEditor toolbar layout and functionality · 13a283ce
      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.
      13a283ce
  17. Oct 25, 2021
  18. Oct 18, 2021
    • rhenck's avatar
      [editor] Refactor directory structure · 9f65f0c9
      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.
      9f65f0c9
    • rhenck's avatar
      [editor] TextEditor: Use custom paragraph extension · e9b44502
      rhenck authored
      Customized margins for paragraph elements.
      e9b44502
  19. Oct 17, 2021
  20. Oct 07, 2021
Loading