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 13, 2022
  2. Jan 12, 2022
    • rhenck's avatar
      [editor] Fix minor issues in TextEditor · 0964ade7
      rhenck authored
      - Naming
      - Focus after nodeview insert
      0964ade7
    • rhenck's avatar
      [editor] Rework TextEditor to also accept cloze documents are input · 7f2ac313
      rhenck authored
      Also editor in cloze mode now respects the element's font size.
      7f2ac313
    • rhenck's avatar
      Make InputElement labe optional and remove it from cloze children · 5b90fa99
      rhenck authored
      Cloze elements are displayed inline and have no way to show a label.
      5b90fa99
    • rhenck's avatar
      Refactor simple dropList element · 4121a526
      rhenck authored
      Now manages height and width by itself. So no overlay div is needed in 
      the cloze component.
      4121a526
    • 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
    • rhenck's avatar
      [editor] Fix minor issues in TextEditor extensions · 71575dd6
      rhenck authored
      - Give proper name
      - Fix variable names
      - Fix deprecated methods
      71575dd6
    • rhenck's avatar
      c04e7014
  3. Jan 10, 2022
  4. Jan 07, 2022
  5. Jan 06, 2022
Loading