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 |
|
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 |
|
Inez Korczynski
|
55c24023f2
|
Refactoring of Toolbar tools
|
2011-11-30 23:05:06 +00:00 |
|
Trevor Parscal
|
f218b15ff1
|
Fixed floating issues with toolbar
|
2011-11-30 22:44:11 +00:00 |
|
Trevor Parscal
|
e540c87d98
|
Added toolbar view to context menu (needs some work)
|
2011-11-30 22:35:06 +00:00 |
|
Trevor Parscal
|
0b72dcba33
|
Fixed context menu positioning
|
2011-11-30 22:30:35 +00:00 |
|
Trevor Parscal
|
d2d73166a8
|
Removed soft undo stuff
|
2011-11-30 22:06:19 +00:00 |
|
Trevor Parscal
|
086b4f46ca
|
Fixed context menu position when scrollTop is non-zero
|
2011-11-30 19:55:44 +00:00 |
|
Inez Korczynski
|
72ec73c063
|
Placeholder for FormattingDropDown and ClearButton in Toolbar
|
2011-11-30 08:07:22 +00:00 |
|
Inez Korczynski
|
af39b6dc47
|
Make toolbar buttons Bold and Italic reflect state of current selection
|
2011-11-30 07:35:59 +00:00 |
|
Inez Korczynski
|
9aa9188798
|
Create separated classes for each toolbar tool (so far only bold and italic). Use CSS classes instead of img tags for toolbar buttons styling.
|
2011-11-30 07:10:15 +00:00 |
|
Trevor Parscal
|
dee9a0df01
|
* Using DOM for more of the icon style
* Fixed double-selection rendering issue
|
2011-11-30 01:23:37 +00:00 |
|