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 12, 2022
  2. 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
  3. Dec 17, 2021
  4. Dec 16, 2021
  5. Dec 15, 2021
  6. Dec 09, 2021
  7. Dec 07, 2021
  8. Dec 06, 2021
  9. Dec 03, 2021
  10. Dec 02, 2021
  11. 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
  12. Nov 25, 2021
  13. Nov 24, 2021
  14. Nov 20, 2021
  15. Nov 19, 2021
  16. Nov 18, 2021
    • rhenck's avatar
      [editor] Change TextEditor extension default font size to not be null · 520a8780
      rhenck authored
      This looked bad having a null value in the DOM.
      16 is the default font size of the app right now.
      520a8780
    • 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
    • rhenck's avatar
      [editor] Fix TextEditor bullet list extension · f5e0c106
      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.
      f5e0c106
  17. Nov 01, 2021
  18. Oct 28, 2021
  19. Oct 25, 2021
  20. 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
Loading