Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Feb 13, 2024
  2. Aug 01, 2023
  3. Jul 28, 2023
  4. Jun 05, 2023
  5. Dec 15, 2022
  6. Dec 02, 2022
  7. Nov 30, 2022
  8. Nov 24, 2022
  9. Nov 18, 2022
  10. Oct 07, 2022
  11. Aug 01, 2022
  12. Jun 09, 2022
    • rhenck's avatar
      [editor] Disable autocomplete in TextEditor · 78b1e01b
      rhenck authored
      There was at least one bug, where entering a number could create a list 
      with wrong styles. This is the easy fix by disabling all that, instead 
      of fixing it, which might bo out of our jurisdiction anyway.
      
      #226
      78b1e01b
  13. May 17, 2022
    • rhenck's avatar
      Refactor model interfaces to classes · 2e9be6e9
      rhenck authored
      This way elements can handle their logic themselves without having to
      rely on outside utility classes.
      
      Also restructure files in common in a more logical way.
      2e9be6e9
  14. Apr 22, 2022
  15. Feb 21, 2022
  16. 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
  17. 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
  18. Jan 17, 2022
  19. 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
  20. Jan 12, 2022
  21. 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
  22. Dec 15, 2021
  23. Dec 06, 2021
  24. Dec 03, 2021
  25. Dec 02, 2021
  26. 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
  27. 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
  28. Nov 19, 2021
  29. 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
  30. Oct 25, 2021
  31. 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
  32. Oct 17, 2021
Loading