loisthash

The only difference between ordinary and extraordinary is just that little "extra".

header tags overrides other tags

simplify header tag operations by letting it override all text manipulations within the same p - this follows standard editor conventions.

stage one clean up complete!

basic operations working well and codes are cleaned and checked.
next stage coming up - h1 - h3 tags.

Landing page scrolling effect

Started work on the landing page (just an early interest sign up), which has some nice animation. Got the panning to work.

New icon for the project!

beautifully designed icon after discussions with my artist - some 'hidden' symbolism there.

Clean up main logic for wrapping

clean up main codes by identifying and collapsing common areas, removing redundant loops

corrected bug for identifying untag cases

fixed bug where case is not detected if tag to remove is a child node

check scenarios to untag

differentiate between untag and tagging scenarios

Begin code cleanup

Remove unused codes before implementing next function

Prevent duplicate wrapping

prevent duplicate wrapping of the same node with the same tag

Fixed nested tag issue!

A bug caused the entire document to go wonky because an infinite loop added endlessly. Fixed that and now the problem of adding , , in nested manner + partial node selection is finally working! Will clean up and hope that this is the last of it.

Stress testing editor

Spam testing of the editor with several complex cases. Have identified several breaks / fracture points. This is getting endless...

recursion for selection retention

Use recursion to ensure that selection retention works for nested nodes

successfully reselects initial text

after the nodes structure have totally changed

Find character index for selected string

No matter amount of nested tags.

fix bug where parent node splits wrongly

should not have multiple text nodes

retain selection for non-partial selection

successfully retains initial text selection after stylizing, if the text selection does not span multiple nodes.

test first version of retain selection algo

Current implementation fails to select the correct substring. Needs a new algorithm.

begin pseudocode to reselect substring

to reselect initial substring after stylizing operations

Fix bug where parent tag might have more than one child

e.g. cases like will cause the wrong node to be wrapped.