Skip to content

Latest commit

 

History

History
107 lines (96 loc) · 3.82 KB

todo.md

File metadata and controls

107 lines (96 loc) · 3.82 KB

variants recompose for available space no word wrap on html editing

editing

drap and drop click on selection copy and paste undo and redo

compose

layer

cursor up/down to x

docx:

continuous section not supportting editing yet

  • Layout Engine

    • Anchor/Wrap[done]
  • paragraph[done]

    • space provide anchor() to provide x,y[done]
  • move cache from section to fissionable[NO]

  • remove children() to normalize render, so we can use Layout to compose render[done]

  • immutable space, so we can compare space to decide if component should be recomposed

  • dynamic composed text, such as numbering, page number, ..., whose width should be pre-defined[done] *fully based on locatable layouted block and inline[done]

  • merge fissionable to section[done]

  • Inheritance VS composition: so composer and content are always synced [done]

  • Shape[done]

  • atom builder mergeOpportunity[done]

  • inline level cache: AtomCollector/isInlineContainer && Atom cache[done]

  • block level cache

  • move composedY to final canvas[done]

  • edit tests

  • delay createDocument to compose phase to Type render layer

  • next/prev line based on original clientX????

  • support z :frame sort content and anchor by z [done]

  • precision

  • merge border

  • remove content search from positioning, use composer search up[done]

  • focus shape in composed [done]

  • layer: content [done]

  • ctrl+->:line end, ctrl+<-: line start,

  • connect cursor shape and selection shape to selectionStyle, instead of locator[done]

  • positioning in different layer, such as header/footer

    • nextLine
    • prevLine
  • Canvas

  • topBlock makes inline layout confusion, spaceTopBlock, lineTopBlock: can topBlock concept be removed? [done]

  • exclusive space of wrappee => available inline segments, is it possible to calc available space directly from space?

  • findInlineSegments() should support minimum inline size to support big wrapper hold whole line[done]

  • focusable is heavy

  • fixed font width measure

  • font id on composed text for quick emitter

  • bold and italic font selection, and how to utilize font variation

  • uniform missing font in editor

  • make editor default support shape, and make we-edit-office support it

  • more precise path and line intersects

    • use line rect and geometry intersect to find most-right and most-left, instead of line begin/end
  • underline should be considered in a line

  • draw shape for we-edit-office

  • enter in docx problem

  • shape border and text distance

  • use shape for cell to utilize shape feature on cell borders

  • col span

  • row span

  • cell colors

  • wrap all table rows in table container, instead of table-row-line [failed]

    • to remove duplicated cell lines
    • it's very risk, since positioning is based on line
  • make color support svg supported color space

  • CSSUnitValue

  • async frame based on Composed-all-trigger to render[done]

    • Frame.onAllChildrenComposed should return composed
    • composed-all-trigger render to frame.onAllchildrenComposed
    • Any.appendLastComposed should NOT call its onAllChildrenComposed
      • if already isAllChildrenComposed, don't call onAllChildrenComposed
    • every render should be ended with composed-all-trigger
      • even all cached applied
  • Positioning NOT rely on composer.computed.lastComposed

    • it's heavy to maintain composers vs composed
      • template
      • autofit
      • cache??
    • the following rely on
      • positionInInline(id,at,composedLine)
      • aroundInInline(composedLine, offset)
      • __findFirstParagraphInTarget(any target)
  • mono width font, such as chinese font

  • text fonts maybe a few for different

  • we-edit-office.fonts nested fonts display problem

  • the target of setting text style on cursor should be the atom

  • catch layout error on all composer

    • text
    • paragraph
    • section
    • page
    • container

Notes

  • immutable 4.0 would deadloop