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
    • rhenck's avatar
      Rework cloze element data · 15cdca5e
      rhenck authored
      - Now only has a variable 'document'. This holds the HTML representation
        in an object. This object is enriched with element models.
      - Because the the TextEditor extension can neither create multiple
        element instances nor use the IDService to generate their IDs, this
        has to be done afterwards. See ClozeParser.
      - The cloze element has rather extensive compatibility handling because
        cloze elements used to save an actual HTML representation. This has to
        be transformed to JSON/object. Therefore we replace the old backslash-
        markers with custom HTML tags. The editor object does this
        transformation. It needs some custom extensions to recognize (and
        don't remove) the HTML tags though.
      - Cloze now shows a placeholder text when empty
      - The cloze component needs a small pipe to extract text formatting
        options from the paragraph parts.
      - For getting the child elements for the player the models have to be
        extracted from the somewhat complex (JSON)document.
      - Added some rudimentary interfaces for the TextEditor document format.
      - Removed the old ClozePart interface. This is quasi part of the new
        interfaces.
      15cdca5e
  2. Dec 17, 2021
  3. Dec 16, 2021
  4. Dec 15, 2021
  5. Dec 14, 2021
    • rhenck's avatar
      Fix radio button without label · 488cfb47
      rhenck authored
      Options still had a margin-top, which is wrong when there is no label 
      above.
      488cfb47
    • rhenck's avatar
      Fix build process for custom theme · 363058d0
      rhenck authored
      The theme file is now project specific because Angular demands assets
      to be part of the project.
      It also differs in content: The editor theme is only applied to canvas
      elements. For the player every checkbox and radio button is affected.
      
      The components now again use the default color of 'accent'. The custom
      theme now has the green as accent color and no longer primary.
      363058d0
  6. Dec 13, 2021
    • rhenck's avatar
      Use custom Material Theme for colors · c78c5329
      rhenck authored
      Used in checkboxes and radio buttons, which are now green.
      The secondary is unused but for safety set to the same as the default
      theme should be.
      c78c5329
    • rhenck's avatar
      Add flex orientation for dropList · 6dd9ba11
      rhenck authored
      This new setting makes child items space around in a row with line 
      break.
      
      Images in vertical alignment now always reserve the whole row and don't 
      appear next to each other.
      6dd9ba11
    • jojohoch's avatar
      Refactor button component · 7f12879f
      jojohoch authored
      - Replace onClick method with an event emitter inside the template
      7f12879f
  7. Dec 10, 2021
  8. Dec 09, 2021
    • rhenck's avatar
      2c603520
    • rhenck's avatar
      Add coloring options to taoggle-button · 0b8056f0
      rhenck authored
      Now correctly sets the chosen background color and additionally sets 
      another (configurable) color to the selected value.
      0b8056f0
    • rhenck's avatar
      Remove text field and area appearance variants and fix remaining · 7a3c8be2
      rhenck authored
      The other  variants are basically the same as filled. The only
      difference is the background color, which we are manilupating anyway.
      So there is no reason to keep them.
      
      Also for the background color directive different target elements are
      needed for the different appearance variants. This is now possible.
      As stylings of the old appearance are kept when changing the appearance
      the styles need to be removed first.
      In the moment the appearance value is changed the component is not
      actually changed yet and there we need to wait for another Angular
      change detection cycle, via timeout.
      7a3c8be2
    • jojohoch's avatar
      Refactor SpellCorrectComponent · 789bcd08
      jojohoch authored
      - Use the same font properties for input element and button element
      - Change cross out behaviour. The button now behaves as
      toggle button and sets the focus to the input element only when it is
      crossed through.
      789bcd08
  9. Dec 08, 2021
Loading