JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
peach-html5-editor.git
7 years agorewrite backspace to use text runs/etc
Jason Woofenden [Tue, 24 May 2016 21:51:00 +0000 (17:51 -0400)]
rewrite backspace to use text runs/etc

8 years agouse new text_cleanup in place of old func
Jason Woofenden [Tue, 12 Apr 2016 06:34:48 +0000 (02:34 -0400)]
use new text_cleanup in place of old func

8 years agomostly working text-run cleanup
Jason Woofenden [Tue, 12 Apr 2016 06:18:09 +0000 (02:18 -0400)]
mostly working text-run cleanup

8 years agostop testing empty paragraph
Jason Woofenden [Fri, 8 Apr 2016 16:17:44 +0000 (12:17 -0400)]
stop testing empty paragraph

8 years agostop testing page break char
Jason Woofenden [Fri, 8 Apr 2016 16:11:25 +0000 (12:11 -0400)]
stop testing page break char

8 years agofix @insert_character: don't assume at cursor
Jason Woofenden [Fri, 8 Apr 2016 16:11:10 +0000 (12:11 -0400)]
fix @insert_character: don't assume at cursor

8 years agobackspace bugfixes (more to come)
Jason Woofenden [Fri, 8 Apr 2016 03:46:53 +0000 (23:46 -0400)]
backspace bugfixes (more to come)

8 years agoimprove backspacing accross tag boundaries
Jason Woofenden [Fri, 8 Apr 2016 03:33:29 +0000 (23:33 -0400)]
improve backspacing accross tag boundaries

8 years agoincomplete: deleting barrier between blocks
Jason Woofenden [Sat, 2 Apr 2016 18:07:44 +0000 (14:07 -0400)]
incomplete: deleting barrier between blocks

8 years agoMerge remote-tracking branch 'tably/master'
Jason Woofenden [Thu, 31 Mar 2016 15:22:37 +0000 (11:22 -0400)]
Merge remote-tracking branch 'tably/master'

8 years agooptimize whitespace dedup
Jason Woofenden [Wed, 30 Mar 2016 14:54:37 +0000 (10:54 -0400)]
optimize whitespace dedup

8 years agopage up: cursor to start if scrolled top already
Jason Woofenden [Wed, 30 Mar 2016 14:00:05 +0000 (10:00 -0400)]
page up: cursor to start if scrolled top already

8 years agopage down key: cursor to end if scrolled bot already
Jason Woofenden [Wed, 30 Mar 2016 13:49:12 +0000 (09:49 -0400)]
page down key: cursor to end if scrolled bot already

8 years agocursor into view: allow to go top/bottom of doc
Jason Woofenden [Wed, 30 Mar 2016 13:45:42 +0000 (09:45 -0400)]
cursor into view: allow to go top/bottom of doc

8 years agoimplement page-down key
Jason Woofenden [Tue, 29 Mar 2016 04:11:55 +0000 (00:11 -0400)]
implement page-down key

8 years agoimplement page-up key
Jason Woofenden [Tue, 29 Mar 2016 03:43:05 +0000 (23:43 -0400)]
implement page-up key

8 years agoremove empty pragraph from example input
Jason Woofenden [Sat, 26 Mar 2016 21:51:42 +0000 (17:51 -0400)]
remove empty pragraph from example input

8 years agofix backspace of last character in a block
Jason Woofenden [Sat, 26 Mar 2016 21:45:43 +0000 (17:45 -0400)]
fix backspace of last character in a block

8 years agocan delete empty blocks with backspace (rough)
Jason Woofenden [Sat, 26 Mar 2016 21:31:53 +0000 (17:31 -0400)]
can delete empty blocks with backspace (rough)

8 years agocode cleanup: better checking for tree-top
Jason Woofenden [Sat, 26 Mar 2016 20:26:25 +0000 (16:26 -0400)]
code cleanup: better checking for tree-top

8 years agoauto-drop spaces created by enter key
Jason Woofenden [Sat, 26 Mar 2016 18:24:12 +0000 (14:24 -0400)]
auto-drop spaces created by enter key

8 years agostart implementing enter key
Jason Woofenden [Sat, 26 Mar 2016 17:52:36 +0000 (13:52 -0400)]
start implementing enter key

8 years agoimplement escape key (kill cursor)
Jason Woofenden [Fri, 25 Mar 2016 22:01:01 +0000 (18:01 -0400)]
implement escape key (kill cursor)

8 years agoimplement keys: home, end
Jason Woofenden [Fri, 25 Mar 2016 22:00:01 +0000 (18:00 -0400)]
implement keys: home, end

8 years agoup/down keys remember orig x past short lines
Jason Woofenden [Fri, 25 Mar 2016 21:48:58 +0000 (17:48 -0400)]
up/down keys remember orig x past short lines

8 years agomake the content true (text-only changes)
Jason Woofenden [Thu, 24 Mar 2016 02:30:36 +0000 (22:30 -0400)]
make the content true (text-only changes)

8 years agoscroll cursor into view when it moves
Jason Woofenden [Thu, 24 Mar 2016 02:03:30 +0000 (22:03 -0400)]
scroll cursor into view when it moves

8 years agoworkaround for shrinking content height on chrome
Jason Woofenden [Thu, 24 Mar 2016 02:03:05 +0000 (22:03 -0400)]
workaround for shrinking content height on chrome

8 years agomake index.html with links to readme and demos
Jason Woofenden [Tue, 22 Mar 2016 17:41:52 +0000 (13:41 -0400)]
make index.html with links to readme and demos

8 years agoreplase odd whitespace characters with spaces where allowed
Jason Woofenden [Sun, 20 Mar 2016 02:12:05 +0000 (22:12 -0400)]
replase odd whitespace characters with spaces where allowed

8 years agoauto set/clear whitespace css on delete/backspace too
Jason Woofenden [Sun, 20 Mar 2016 01:39:47 +0000 (21:39 -0400)]
auto set/clear whitespace css on delete/backspace too

8 years agobugfix: text insert one character from the end
Jason Woofenden [Sun, 20 Mar 2016 00:52:23 +0000 (20:52 -0400)]
bugfix: text insert one character from the end

8 years agochrome bugfix: cursor at end in pre-wrap
Jason Woofenden [Sun, 20 Mar 2016 00:52:04 +0000 (20:52 -0400)]
chrome bugfix: cursor at end in pre-wrap

8 years agopreserve spaces as needed while typing
Jason Woofenden [Sun, 20 Mar 2016 00:38:26 +0000 (20:38 -0400)]
preserve spaces as needed while typing

8 years agofix typing (broken by CursorPosition)
Jason Woofenden [Fri, 18 Mar 2016 18:15:07 +0000 (14:15 -0400)]
fix typing (broken by CursorPosition)

8 years agoimplement down arrow to move cursor
Jason Woofenden [Fri, 18 Mar 2016 18:05:37 +0000 (14:05 -0400)]
implement down arrow to move cursor

8 years agocode cleanup: var/func renames
Jason Woofenden [Fri, 18 Mar 2016 17:58:14 +0000 (13:58 -0400)]
code cleanup: var/func renames

8 years agocleanup: don't reset cursor animation on move
Jason Woofenden [Fri, 18 Mar 2016 17:55:42 +0000 (13:55 -0400)]
cleanup: don't reset cursor animation on move

8 years agocreate/use CursorPosition class (includes x,y)
Jason Woofenden [Fri, 18 Mar 2016 17:48:53 +0000 (13:48 -0400)]
create/use CursorPosition class (includes x,y)

8 years agofix click offset bug
Jason Woofenden [Fri, 18 Mar 2016 15:05:02 +0000 (11:05 -0400)]
fix click offset bug

8 years agoclean up testing color scheme
Jason Woofenden [Fri, 18 Mar 2016 14:17:11 +0000 (10:17 -0400)]
clean up testing color scheme

8 years agoimplement real up-arrow key
Jason Woofenden [Fri, 18 Mar 2016 04:06:32 +0000 (00:06 -0400)]
implement real up-arrow key

8 years agostart on cursor-up key
Jason Woofenden [Thu, 17 Mar 2016 20:58:17 +0000 (16:58 -0400)]
start on cursor-up key

8 years agobugfix: cursor prev when at first position
Jason Woofenden [Wed, 16 Mar 2016 22:35:05 +0000 (18:35 -0400)]
bugfix: cursor prev when at first position

8 years agodelay editable content loading 'til css is ready
Jason Woofenden [Tue, 15 Mar 2016 21:26:28 +0000 (17:26 -0400)]
delay editable content loading 'til css is ready

8 years agodon't scroll to top when content height changes
Jason Woofenden [Tue, 15 Mar 2016 19:18:02 +0000 (15:18 -0400)]
don't scroll to top when content height changes

8 years agoadjust to size of content after css loads
Jason Woofenden [Tue, 15 Mar 2016 19:03:25 +0000 (15:03 -0400)]
adjust to size of content after css loads

8 years agono scrollbars on @iframe (even when overflow-x)
Jason Woofenden [Tue, 15 Mar 2016 18:19:24 +0000 (14:19 -0400)]
no scrollbars on @iframe (even when overflow-x)

8 years agostyle editor frame for non-white parent pages
Jason Woofenden [Tue, 15 Mar 2016 18:12:27 +0000 (14:12 -0400)]
style editor frame for non-white parent pages

8 years agotest cursor on more background colors
Jason Woofenden [Tue, 15 Mar 2016 03:54:17 +0000 (23:54 -0400)]
test cursor on more background colors

8 years ago(strange) cursor: always visible on anything
Jason Woofenden [Tue, 15 Mar 2016 03:49:57 +0000 (23:49 -0400)]
(strange) cursor: always visible on anything

8 years agocursor blinks black/white
Jason Woofenden [Tue, 15 Mar 2016 03:27:08 +0000 (23:27 -0400)]
cursor blinks black/white

8 years agofix loading css for editable content
Jason Woofenden [Tue, 15 Mar 2016 03:03:25 +0000 (23:03 -0400)]
fix loading css for editable content

8 years agocheck for visibility:hidden/collapsed too
Jason Woofenden [Sun, 13 Mar 2016 20:47:23 +0000 (16:47 -0400)]
check for visibility:hidden/collapsed too

8 years agohide cursor/etc when focus leaves iframe
Jason Woofenden [Sun, 13 Mar 2016 20:09:45 +0000 (16:09 -0400)]
hide cursor/etc when focus leaves iframe

8 years agofix typing several symbols
Jason Woofenden [Sun, 13 Mar 2016 18:46:33 +0000 (14:46 -0400)]
fix typing several symbols

8 years agonote findings on acceptable attributes
Jason Woofenden [Sun, 13 Mar 2016 18:37:32 +0000 (14:37 -0400)]
note findings on acceptable attributes

8 years agoremove cursor when clicking on nothing
Jason Woofenden [Sun, 13 Mar 2016 18:04:32 +0000 (14:04 -0400)]
remove cursor when clicking on nothing

8 years agocursor hight fits text size
Jason Woofenden [Sun, 13 Mar 2016 18:03:14 +0000 (14:03 -0400)]
cursor hight fits text size

8 years agoblock bogus and javascripty attributes
Jason Woofenden [Sun, 13 Mar 2016 04:09:18 +0000 (23:09 -0500)]
block bogus and javascripty attributes

8 years agofix code to block loading scripts/etc
Jason Woofenden [Sun, 13 Mar 2016 03:46:56 +0000 (22:46 -0500)]
fix code to block loading scripts/etc

8 years agoannotations work on dark background
Jason Woofenden [Sun, 13 Mar 2016 03:46:41 +0000 (22:46 -0500)]
annotations work on dark background

8 years agorestyle annotations
Jason Woofenden [Sun, 13 Mar 2016 03:37:38 +0000 (22:37 -0500)]
restyle annotations

8 years agoparser: use strings for node types
Jason Woofenden [Sun, 13 Mar 2016 03:16:32 +0000 (22:16 -0500)]
parser: use strings for node types

8 years agofix crash (left-arrow past invisible/broken node)
Jason Woofenden [Sun, 13 Mar 2016 02:13:45 +0000 (21:13 -0500)]
fix crash (left-arrow past invisible/broken node)

8 years agorewrite html pretty-printing
Jason Woofenden [Sun, 13 Mar 2016 02:11:51 +0000 (21:11 -0500)]
rewrite html pretty-printing

8 years agofix clicking coordinates
Jason Woofenden [Sat, 12 Mar 2016 19:55:51 +0000 (14:55 -0500)]
fix clicking coordinates

8 years agoexperiment with matting (break clicking)
Jason Woofenden [Sat, 12 Mar 2016 19:07:55 +0000 (14:07 -0500)]
experiment with matting (break clicking)

8 years agoupdate (textarea) after delete/backspace
Jason Woofenden [Sat, 12 Mar 2016 18:28:51 +0000 (13:28 -0500)]
update (textarea) after delete/backspace

8 years agofix stopping of event propegation/default
Jason Woofenden [Wed, 9 Mar 2016 07:31:08 +0000 (02:31 -0500)]
fix stopping of event propegation/default

8 years agocode cleanup (just renames)
Jason Woofenden [Wed, 9 Mar 2016 07:29:18 +0000 (02:29 -0500)]
code cleanup (just renames)

8 years agoimprove pretty-printing for pre/etc
Jason Woofenden [Wed, 9 Mar 2016 07:23:28 +0000 (02:23 -0500)]
improve pretty-printing for pre/etc

8 years agopretty-print html: one-line mode for small blocks
Jason Woofenden [Wed, 9 Mar 2016 07:00:02 +0000 (02:00 -0500)]
pretty-print html: one-line mode for small blocks

8 years agopretty-print html, break pre-wrap/etc blocks
Jason Woofenden [Wed, 9 Mar 2016 06:48:43 +0000 (01:48 -0500)]
pretty-print html, break pre-wrap/etc blocks

8 years agoremove empty text nodes, code cleanup
Jason Woofenden [Tue, 8 Mar 2016 18:15:21 +0000 (13:15 -0500)]
remove empty text nodes, code cleanup

8 years agofix cursor movement past empty text nodes
Jason Woofenden [Tue, 8 Mar 2016 17:48:25 +0000 (12:48 -0500)]
fix cursor movement past empty text nodes

8 years agofix typo/crash in chrome for empty text nodes
Jason Woofenden [Tue, 8 Mar 2016 17:30:45 +0000 (12:30 -0500)]
fix typo/crash in chrome for empty text nodes

8 years agoevents don't reach editable content, no selecting
Jason Woofenden [Tue, 8 Mar 2016 17:26:59 +0000 (12:26 -0500)]
events don't reach editable content, no selecting

8 years agofinish fixing scrollbar
Jason Woofenden [Tue, 8 Mar 2016 16:49:17 +0000 (11:49 -0500)]
finish fixing scrollbar

8 years agoimprove scrolling a bit
Jason Woofenden [Tue, 8 Mar 2016 16:31:48 +0000 (11:31 -0500)]
improve scrolling a bit

8 years agowork around bug in firefox (nested iframe onload)
Jason Woofenden [Tue, 8 Mar 2016 16:18:05 +0000 (11:18 -0500)]
work around bug in firefox (nested iframe onload)

8 years agoremove for now: script, object, iframe, link
Jason Woofenden [Tue, 8 Mar 2016 15:58:14 +0000 (10:58 -0500)]
remove for now: script, object, iframe, link

8 years agowrap in div, match dimensions
Jason Woofenden [Tue, 8 Mar 2016 15:43:25 +0000 (10:43 -0500)]
wrap in div, match dimensions

8 years agonother iframe, auto-generate css, fix typing, break scrolling
Jason Woofenden [Tue, 8 Mar 2016 04:21:58 +0000 (23:21 -0500)]
nother iframe, auto-generate css, fix typing, break scrolling

8 years agocreate overlay, move cursor to it, break typing
Jason Woofenden [Tue, 8 Mar 2016 03:04:38 +0000 (22:04 -0500)]
create overlay, move cursor to it, break typing

8 years agofix text node encodings when formatting to html
Jason Woofenden [Mon, 7 Mar 2016 22:08:22 +0000 (17:08 -0500)]
fix text node encodings when formatting to html

8 years agotest/show-off how smart whitespace checking is
Jason Woofenden [Mon, 7 Mar 2016 01:30:43 +0000 (20:30 -0500)]
test/show-off how smart whitespace checking is

8 years agobugfix in ws dedup when rm 1st space in inline
Jason Woofenden [Mon, 7 Mar 2016 01:24:28 +0000 (20:24 -0500)]
bugfix in ws dedup when rm 1st space in inline

8 years agowhitespace dedup works (rewrite)
Jason Woofenden [Mon, 7 Mar 2016 01:06:27 +0000 (20:06 -0500)]
whitespace dedup works (rewrite)

8 years agomostly working: dedup spaces
Jason Woofenden [Sat, 5 Mar 2016 19:42:00 +0000 (14:42 -0500)]
mostly working: dedup spaces

8 years agofix new positioning code for scrolled editor
Jason Woofenden [Sat, 5 Mar 2016 05:09:49 +0000 (00:09 -0500)]
fix new positioning code for scrolled editor

8 years agolink to git repo
Jason Woofenden [Sat, 5 Mar 2016 05:03:41 +0000 (00:03 -0500)]
link to git repo

8 years agodetermine text/character position with range api
Jason Woofenden [Sat, 5 Mar 2016 04:48:30 +0000 (23:48 -0500)]
determine text/character position with range api

8 years agofix left/right cursor past non-visible whitespace
Jason Woofenden [Sat, 5 Mar 2016 02:55:09 +0000 (21:55 -0500)]
fix left/right cursor past non-visible whitespace

8 years agoadd .git-ftp-include
Jason Woofenden [Mon, 29 Feb 2016 23:59:53 +0000 (18:59 -0500)]
add .git-ftp-include

8 years agoimplement delete key
Jason Woofenden [Wed, 24 Feb 2016 19:06:42 +0000 (14:06 -0500)]
implement delete key

8 years agoimplement backspace key
Jason Woofenden [Wed, 24 Feb 2016 19:04:05 +0000 (14:04 -0500)]
implement backspace key

8 years agofix cursor blink in firefox, tweak
Jason Woofenden [Wed, 24 Feb 2016 18:37:12 +0000 (13:37 -0500)]
fix cursor blink in firefox, tweak

8 years agofix cursor on inlines that start mid-row
Jason Woofenden [Wed, 24 Feb 2016 15:19:11 +0000 (10:19 -0500)]
fix cursor on inlines that start mid-row

8 years agoclick to cursor position works
Jason Woofenden [Wed, 24 Feb 2016 05:18:00 +0000 (00:18 -0500)]
click to cursor position works