Trevor Parscal
|
64754b8200
|
Added autocapitalize="off" attribute to text area input so IOS doesn't capitalize everything.
|
2011-12-14 18:54:36 +00:00 |
|
Trevor Parscal
|
74ff2981cf
|
Added blur handler for window which resets the shift key tracker
|
2011-12-13 23:22:19 +00:00 |
|
Trevor Parscal
|
fef6d5525e
|
- Added auto-link selection when opening the link editor without selecting any text
- Resolves bug #33049
|
2011-12-13 23:12:27 +00:00 |
|
Trevor Parscal
|
f379eac294
|
Moved toolbar floating code to sandbox.js - using a wrapper instead of a spacer to avoid resize events causing scroll events which cause a nasty loop
|
2011-12-12 23:41:15 +00:00 |
|
Inez Korczynski
|
37d3b7ceac
|
Add calls to 'breakpoint' method in ListButtonTool
|
2011-12-10 00:06:37 +00:00 |
|
Inez Korczynski
|
4e39b41727
|
Make ctrl+y execute redo
|
2011-12-10 00:02:47 +00:00 |
|
Trevor Parscal
|
dabb992d50
|
Don't allow control+K to open the inspector unless there's a selection length of > 0
|
2011-12-09 23:23:43 +00:00 |
|
Trevor Parscal
|
a48d2a5787
|
* Added shortcut for links (ctrl/cmd + K)
* Added title attributes for tools
|
2011-12-09 21:16:42 +00:00 |
|
Inez Korczynski
|
31cd3281ca
|
Fix onMouseDown event handler for IE8 (still double and triple click does not work)
|
2011-12-09 20:29:37 +00:00 |
|
Trevor Parscal
|
4ea117d7a6
|
Added es.Inspector and es.LinkInspector - and a whole bunch of other changes (some are hacks) to get a link inspector working nicely
|
2011-12-09 01:28:44 +00:00 |
|
Inez Korczynski
|
ed44f13aa0
|
Revert r105509 and r105507 - taken approach is not gonna work
|
2011-12-08 03:14:10 +00:00 |
|
Inez Korczynski
|
7da531b59e
|
Pass array of transactions to transact method if all those transactions are part of one "interaction"
|
2011-12-08 01:09:52 +00:00 |
|
Trevor Parscal
|
45634a8208
|
Added support for inserting tab and newline characters
|
2011-12-07 01:10:25 +00:00 |
|
Trevor Parscal
|
f0c20d7a51
|
Fixed cut - now cut copy and paste work
|
2011-12-07 00:51:26 +00:00 |
|
Trevor Parscal
|
b1f54c5ae5
|
Refactored annotation of content - now there's an annotate method in surface view
|
2011-12-06 23:48:47 +00:00 |
|
Neil Kandalgaonkar
|
dbe4890ed6
|
Simplified transaction model, introduced isPartial for some deletes
|
2011-12-06 01:52:38 +00:00 |
|
Neil Kandalgaonkar
|
e3fc95f41a
|
Revert r104884 "no longer track selections in states. Also makes the 'combine' parameter obsolete"
This reverts git-svn commit e4e3468605c97bd5e611fdf8fc80c04e034e4eb4.
This reverts svn commit r104884
|
2011-12-06 01:52:34 +00:00 |
|
Inez Korczynski
|
a22eadee54
|
Fix toolbar for IE8 and IE9. Fix mouse button detection for IE8 and IE9.
|
2011-12-05 22:01:06 +00:00 |
|
Inez Korczynski
|
5be5d276a4
|
Removed empty lines
|
2011-12-05 20:46:53 +00:00 |
|
Trevor Parscal
|
8d5c83d87b
|
Prevent inserting unless there was an effective input, such as text being typed - this is done by checking the length of the range of the selection - if it's non-zero then there wasn't any input (because selecting text in the editor fill the input and selects it)
|
2011-12-05 20:40:35 +00:00 |
|
Inez Korczynski
|
0938f24c5b
|
Use getContentText method to get text of selection
|
2011-12-05 20:32:05 +00:00 |
|
Trevor Parscal
|
07af0cab63
|
* Moved getContent and getText from leaf nodes to document model nodes
* Renamed getContent to getContentData
* Renamed getText to getContentText
* Added getElementData
|
2011-12-05 19:41:04 +00:00 |
|
Inez Korczynski
|
78451cb00a
|
Added partial support for copying functionality
|
2011-12-03 01:30:44 +00:00 |
|
Inez Korczynski
|
1f3604a959
|
Optimization for toolbarView. Count data for all toolbars (currently two) once, and do it not more often than 50ms.
|
2011-12-02 23:01:21 +00:00 |
|
Trevor Parscal
|
ef87d55317
|
Made context icon not appear while dragging selection
|
2011-12-01 23:00:35 +00:00 |
|
Trevor Parscal
|
00d62c5ebd
|
Update context menu on scroll and resize
|
2011-12-01 22:50:55 +00:00 |
|
Trevor Parscal
|
7a5eccea44
|
Using unique event for cursor state changes - this also fixes the infinite loop that occurred when selections were made
|
2011-12-01 21:44:46 +00:00 |
|
Neil Kandalgaonkar
|
c8aa352cb0
|
misc fixes to pass jslint - catch default cases, make sure callbacks whose values are checked always return them, etc.
|
2011-12-01 19:08:32 +00:00 |
|
Neil Kandalgaonkar
|
71542b45d7
|
no longer track selections in states. Also makes the 'combine' parameter obsolete
|
2011-12-01 19:08:28 +00:00 |
|
Inez Korczynski
|
7bc84d8cf4
|
getIndexOfAnnotation is method of DocumentModel. not DocumentView
|
2011-12-01 01:10:38 +00:00 |
|
Trevor Parscal
|
f9ad5bed54
|
Pick up annotations from the character on the left of the cursor
|
2011-12-01 00:58:51 +00:00 |
|
Trevor Parscal
|
f098a24c8a
|
Moved things around - only doing insertion annotation loading when needed
|
2011-12-01 00:55:33 +00:00 |
|
Inez Korczynski
|
a5fdfffc3b
|
Seperate ClearButtonTool from AnnotationButtonTool
|
2011-12-01 00:37:17 +00:00 |
|
Trevor Parscal
|
7c7583fcd6
|
Fixed invalid symbol
|
2011-12-01 00:24:57 +00:00 |
|
Trevor Parscal
|
b3790de52d
|
Filter out insertion annotations that aren't textStyle or link
|
2011-12-01 00:21:59 +00:00 |
|
Trevor Parscal
|
18681cb758
|
Added insertion annotation functionality
|
2011-12-01 00:16:50 +00:00 |
|
Trevor Parscal
|
3a6220e922
|
Fixed selection update on resize
|
2011-11-30 23:36:44 +00:00 |
|
Trevor Parscal
|
dc575227f6
|
Fixed a typo
|
2011-11-30 23:33:07 +00:00 |
|
Trevor Parscal
|
306ebb936a
|
Made context icon update with selection updates
|
2011-11-30 23:19:56 +00:00 |
|
Trevor Parscal
|
d2d73166a8
|
Removed soft undo stuff
|
2011-11-30 22:06:19 +00:00 |
|
Trevor Parscal
|
9d34341beb
|
Added es.ContextView
|
2011-11-29 23:29:02 +00:00 |
|
Inez Korczynski
|
ffdf68c50b
|
Put $input (textarea) in the same place where cursor is (so it can follow its position nicely)
|
2011-11-29 21:32:41 +00:00 |
|
Inez Korczynski
|
dc7e601ef0
|
Make toolbar float nicely in demo and in MediaWiki sandbox special page.
|
2011-11-29 00:58:40 +00:00 |
|
Inez Korczynski
|
77486cf8f2
|
Support select all (ctrl/metakey + a) on mac
|
2011-11-28 23:54:22 +00:00 |
|
Inez Korczynski
|
6a1bd05703
|
Support for select all (ctrl+a)
|
2011-11-28 22:47:07 +00:00 |
|
Inez Korczynski
|
6e36c7c439
|
Put cursor directly in body element. This way it still can be positioned absolutly but without risk that some other element using position other than "static" (like #bodyContent) will change positioning context.
|
2011-11-28 21:58:46 +00:00 |
|
Trevor Parscal
|
111ce5ada3
|
Initial MediaWiki Integration
|
2011-11-28 20:28:28 +00:00 |
|
Trevor Parscal
|
30ede21d46
|
No need to fallback to zero, delay must be non-zero for the setTimeout to be run
|
2011-11-24 00:01:11 +00:00 |
|
Trevor Parscal
|
1b633ede21
|
Took time-buffered actions out of a timeout if delay is undefined or 0
|
2011-11-23 23:57:54 +00:00 |
|
Trevor Parscal
|
b8b3ed57e2
|
Added time-buffer to emitting updates
|
2011-11-23 23:42:41 +00:00 |
|