Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Jan 20, 2022
  2. Jan 18, 2022
  3. Jan 06, 2022
  4. Jan 04, 2022
  5. Dec 16, 2021
    • rhenck's avatar
      Add fixedSize styling to most elements · 27b284c7
      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.
      27b284c7
  6. Dec 06, 2021
  7. 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
  8. Nov 29, 2021
  9. Nov 26, 2021
    • jojohoch's avatar
      Add rubber icon button to delete text marks · 1ea28324
      jojohoch authored
      1ea28324
    • rhenck's avatar
      Refactor element class and interface structure · 4a413b60
      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.
      4a413b60
  10. Nov 25, 2021
  11. Nov 22, 2021
  12. Nov 19, 2021
  13. Nov 15, 2021
  14. Nov 11, 2021
  15. Nov 03, 2021
  16. Nov 01, 2021
  17. Oct 28, 2021
  18. Oct 21, 2021
  19. Oct 18, 2021
  20. Oct 15, 2021
  21. Oct 13, 2021
    • rhenck's avatar
      Add classes for all models · 0473666d
      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.
      0473666d
    • jojohoch's avatar
      Sanitize `innerHTML` with pipe · 16cbf261
      jojohoch authored
      16cbf261
    • jojohoch's avatar
      [editor] Make text elements markable · 781ded38
      jojohoch authored
      781ded38
  22. Oct 07, 2021
  23. Sep 29, 2021
  24. Sep 24, 2021
  25. Sep 23, 2021
  26. Sep 20, 2021
Loading