Trevor Parscal
|
f42915ac0f
|
Added vertical margin in calculation of menu position
|
2011-12-07 23:25:13 +00:00 |
|
Trevor Parscal
|
8a5ff02cea
|
Fixed headings, lists and list items - listening to the model now, as we should have been
|
2011-12-07 23:13:57 +00:00 |
|
Inez Korczynski
|
f226380f36
|
Add 'term' and 'defintion' to regex (one that is responsible for deleting all listitem styles from an item) in ListItemView.setClasses method.
|
2011-12-07 23:12:33 +00:00 |
|
Trevor Parscal
|
8505b3b566
|
* Simplified context menu
* Added typeOnly option to getIndexOfAnnotation
* Fixed overly-strict checking for annotations in toolbar
|
2011-12-07 19:16:40 +00:00 |
|
Inez Korczynski
|
b5d822ec1d
|
Minor fix: incorrect refactoring
|
2011-12-07 01:13:08 +00:00 |
|
Inez Korczynski
|
0ec2775621
|
Make ListView.enumerate method clear ListItemView.$icon when item is not 'number'.
|
2011-12-07 01:12:04 +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 |
|
Trevor Parscal
|
1b89cbb79d
|
Moved the menu of a drop down tool to be inside the drop down tool itself
|
2011-12-06 00:10:30 +00:00 |
|
Trevor Parscal
|
2810f79605
|
inArray returns an index, -1 is failure not 0 or a falsey value
|
2011-12-05 22:55:39 +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
|
8ec3fb5b81
|
Bunch of fixes for IE8
|
2011-12-05 21:37:38 +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 |
|
Trevor Parscal
|
02c88fcddf
|
Prevent cancel link from changing url
|
2011-12-05 18:38:12 +00:00 |
|
Inez Korczynski
|
f361648059
|
Added indentation tool (indent, outdent)
|
2011-12-04 02:54:33 +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
|
667e145706
|
* Fixed empty drop down not being the right size
* Added previews for formatting menu
|
2011-12-02 22:20:26 +00:00 |
|
Trevor Parscal
|
12ead70876
|
Added visible breaks to to toolbar groups
|
2011-12-02 21:31:49 +00:00 |
|
Trevor Parscal
|
3d678ea3bd
|
Integrated menuView into format drop down tool
|
2011-12-02 21:25:19 +00:00 |
|
Inez Korczynski
|
a9a53a00a8
|
Initiali implementation of number and bullet buttons for lists.
|
2011-12-02 06:43:26 +00:00 |
|
Trevor Parscal
|
172c4815b3
|
Fixed example panel visibility bug
|
2011-12-02 00:32:20 +00:00 |
|
Trevor Parscal
|
8a58fb5189
|
Added es.MenuView
|
2011-12-02 00:30:50 +00:00 |
|
Inez Korczynski
|
874e8aa40a
|
Missing changes for FormatDropdownTool support
|
2011-12-02 00:02:16 +00:00 |
|
Trevor Parscal
|
380f016840
|
* Split the result of getAnnotationsFromRange to provide full, partial and all lists
* Fixed tools to use this data correctly
|
2011-12-01 23:25:56 +00:00 |
|
Inez Korczynski
|
2686b383d9
|
Added FormatDropdownTool, so now you can switch leaf nodes from paragraphs to pres for instance
|
2011-12-01 23:24: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
|
0cb7387b6f
|
Added example dialog (still hacking here)
Added link tool to toolbar
|
2011-12-01 22:43:50 +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
|
da9b4070fe
|
Added undo and redo buttons to toolbar
|
2011-12-01 01:33:13 +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
|
0b061e9cc5
|
Changed example context menu items
|
2011-12-01 00:04:59 +00:00 |
|
Inez Korczynski
|
dfc33b332c
|
Refactoring of Toolbar tools
|
2011-11-30 23:51:06 +00:00 |
|
Trevor Parscal
|
a442fd4bb0
|
Split name and label functionality of toolbar config
|
2011-11-30 23:40:33 +00:00 |
|
Trevor Parscal
|
3a6220e922
|
Fixed selection update on resize
|
2011-11-30 23:36:44 +00:00 |
|