editable_components 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +64 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/config/editable_components_manifest.js +2 -0
  6. data/app/assets/fonts/editable_components/icomoon.eot +0 -0
  7. data/app/assets/fonts/editable_components/icomoon.svg +24 -0
  8. data/app/assets/fonts/editable_components/icomoon.ttf +0 -0
  9. data/app/assets/fonts/editable_components/icomoon.woff +0 -0
  10. data/app/assets/javascripts/editable_components/application.js +13 -0
  11. data/app/assets/javascripts/editable_components/dragula/dragula.css +22 -0
  12. data/app/assets/javascripts/editable_components/dragula/dragula.js +908 -0
  13. data/app/assets/javascripts/editable_components/dragula/dragula.min.css +1 -0
  14. data/app/assets/javascripts/editable_components/dragula/dragula.min.js +1 -0
  15. data/app/assets/javascripts/editable_components/dropzone/CONTRIBUTING.md +78 -0
  16. data/app/assets/javascripts/editable_components/dropzone/LICENSE +12 -0
  17. data/app/assets/javascripts/editable_components/dropzone/README.md +134 -0
  18. data/app/assets/javascripts/editable_components/dropzone/basic.css +39 -0
  19. data/app/assets/javascripts/editable_components/dropzone/dropzone-amd-module.js +1782 -0
  20. data/app/assets/javascripts/editable_components/dropzone/dropzone.css +388 -0
  21. data/app/assets/javascripts/editable_components/dropzone/dropzone.js +1767 -0
  22. data/app/assets/javascripts/editable_components/dropzone/min/basic.min.css +1 -0
  23. data/app/assets/javascripts/editable_components/dropzone/min/dropzone-amd-module.min.js +2 -0
  24. data/app/assets/javascripts/editable_components/dropzone/min/dropzone.min.css +1 -0
  25. data/app/assets/javascripts/editable_components/dropzone/min/dropzone.min.js +2 -0
  26. data/app/assets/javascripts/editable_components/main.js +280 -0
  27. data/app/assets/javascripts/editable_components/medium-editor/API.md +520 -0
  28. data/app/assets/javascripts/editable_components/medium-editor/CHANGES.md +1043 -0
  29. data/app/assets/javascripts/editable_components/medium-editor/CODE_OF_CONDUCT.md +13 -0
  30. data/app/assets/javascripts/editable_components/medium-editor/CONTRIBUTING.md +56 -0
  31. data/app/assets/javascripts/editable_components/medium-editor/CUSTOM-EVENTS.md +223 -0
  32. data/app/assets/javascripts/editable_components/medium-editor/LICENSE +36 -0
  33. data/app/assets/javascripts/editable_components/medium-editor/MAINTAINERS.md +33 -0
  34. data/app/assets/javascripts/editable_components/medium-editor/OPTIONS.md +663 -0
  35. data/app/assets/javascripts/editable_components/medium-editor/README.md +725 -0
  36. data/app/assets/javascripts/editable_components/medium-editor/UPGRADE-5.md +146 -0
  37. data/app/assets/javascripts/editable_components/medium-editor/medium-editor.css +230 -0
  38. data/app/assets/javascripts/editable_components/medium-editor/medium-editor.js +7876 -0
  39. data/app/assets/javascripts/editable_components/medium-editor/medium-editor.min.css +1 -0
  40. data/app/assets/javascripts/editable_components/medium-editor/medium-editor.min.js +4 -0
  41. data/app/assets/javascripts/editable_components/medium-editor/themes/beagle.css +78 -0
  42. data/app/assets/javascripts/editable_components/medium-editor/themes/beagle.min.css +1 -0
  43. data/app/assets/javascripts/editable_components/medium-editor/themes/bootstrap.css +67 -0
  44. data/app/assets/javascripts/editable_components/medium-editor/themes/bootstrap.min.css +1 -0
  45. data/app/assets/javascripts/editable_components/medium-editor/themes/default.css +63 -0
  46. data/app/assets/javascripts/editable_components/medium-editor/themes/default.min.css +1 -0
  47. data/app/assets/javascripts/editable_components/medium-editor/themes/flat.css +58 -0
  48. data/app/assets/javascripts/editable_components/medium-editor/themes/flat.min.css +1 -0
  49. data/app/assets/javascripts/editable_components/medium-editor/themes/mani.css +57 -0
  50. data/app/assets/javascripts/editable_components/medium-editor/themes/mani.min.css +1 -0
  51. data/app/assets/javascripts/editable_components/medium-editor/themes/roman.css +58 -0
  52. data/app/assets/javascripts/editable_components/medium-editor/themes/roman.min.css +1 -0
  53. data/app/assets/javascripts/editable_components/medium-editor/themes/tim.css +67 -0
  54. data/app/assets/javascripts/editable_components/medium-editor/themes/tim.min.css +1 -0
  55. data/app/assets/javascripts/editable_components/sizzle/sizzle.js +2272 -0
  56. data/app/assets/javascripts/editable_components/sizzle/sizzle.min.js +3 -0
  57. data/app/assets/javascripts/editable_components/sizzle/sizzle.min.map +1 -0
  58. data/app/assets/javascripts/editable_components/vue/README.md +124 -0
  59. data/app/assets/javascripts/editable_components/vue/vue.common.js +9320 -0
  60. data/app/assets/javascripts/editable_components/vue/vue.common.min.js +7 -0
  61. data/app/assets/javascripts/editable_components/vue/vue.esm.js +9318 -0
  62. data/app/assets/javascripts/editable_components/vue/vue.js +9316 -0
  63. data/app/assets/javascripts/editable_components/vue/vue.min.js +8 -0
  64. data/app/assets/javascripts/editable_components/vue/vue.runtime.common.js +6831 -0
  65. data/app/assets/javascripts/editable_components/vue/vue.runtime.esm.js +6829 -0
  66. data/app/assets/javascripts/editable_components/vue/vue.runtime.js +6827 -0
  67. data/app/assets/javascripts/editable_components/vue/vue.runtime.min.js +7 -0
  68. data/app/assets/stylesheets/editable_components/application.sass +65 -0
  69. data/app/assets/stylesheets/editable_components/blaze/blaze.colors.min.css +1 -0
  70. data/app/assets/stylesheets/editable_components/blaze/blaze.min.css +1 -0
  71. data/app/assets/stylesheets/editable_components/blaze/components.addresses.min.css +1 -0
  72. data/app/assets/stylesheets/editable_components/blaze/components.alerts.min.css +1 -0
  73. data/app/assets/stylesheets/editable_components/blaze/components.avatars.min.css +1 -0
  74. data/app/assets/stylesheets/editable_components/blaze/components.badges.min.css +1 -0
  75. data/app/assets/stylesheets/editable_components/blaze/components.breadcrumbs.min.css +1 -0
  76. data/app/assets/stylesheets/editable_components/blaze/components.bubbles.min.css +1 -0
  77. data/app/assets/stylesheets/editable_components/blaze/components.buttons.min.css +1 -0
  78. data/app/assets/stylesheets/editable_components/blaze/components.calendars.min.css +1 -0
  79. data/app/assets/stylesheets/editable_components/blaze/components.cards.min.css +1 -0
  80. data/app/assets/stylesheets/editable_components/blaze/components.headings.min.css +1 -0
  81. data/app/assets/stylesheets/editable_components/blaze/components.hints.min.css +1 -0
  82. data/app/assets/stylesheets/editable_components/blaze/components.input-groups.min.css +1 -0
  83. data/app/assets/stylesheets/editable_components/blaze/components.inputs.min.css +1 -0
  84. data/app/assets/stylesheets/editable_components/blaze/components.links.min.css +1 -0
  85. data/app/assets/stylesheets/editable_components/blaze/components.lists.min.css +1 -0
  86. data/app/assets/stylesheets/editable_components/blaze/components.navs.min.css +1 -0
  87. data/app/assets/stylesheets/editable_components/blaze/components.overlays.min.css +1 -0
  88. data/app/assets/stylesheets/editable_components/blaze/components.pagination.min.css +1 -0
  89. data/app/assets/stylesheets/editable_components/blaze/components.progress.min.css +1 -0
  90. data/app/assets/stylesheets/editable_components/blaze/components.ranges.min.css +1 -0
  91. data/app/assets/stylesheets/editable_components/blaze/components.tables.min.css +1 -0
  92. data/app/assets/stylesheets/editable_components/blaze/components.tabs.min.css +1 -0
  93. data/app/assets/stylesheets/editable_components/blaze/components.tags.min.css +1 -0
  94. data/app/assets/stylesheets/editable_components/blaze/components.toggles.min.css +1 -0
  95. data/app/assets/stylesheets/editable_components/blaze/components.tooltips.min.css +1 -0
  96. data/app/assets/stylesheets/editable_components/blaze/components.trees.min.css +1 -0
  97. data/app/assets/stylesheets/editable_components/blaze/components.typography.min.css +1 -0
  98. data/app/assets/stylesheets/editable_components/blaze/generics.global.min.css +1 -0
  99. data/app/assets/stylesheets/editable_components/blaze/objects.containers.min.css +1 -0
  100. data/app/assets/stylesheets/editable_components/blaze/objects.drawers.min.css +1 -0
  101. data/app/assets/stylesheets/editable_components/blaze/objects.forms.min.css +1 -0
  102. data/app/assets/stylesheets/editable_components/blaze/objects.grid.min.css +1 -0
  103. data/app/assets/stylesheets/editable_components/blaze/objects.grid.responsive.min.css +1 -0
  104. data/app/assets/stylesheets/editable_components/blaze/objects.images.min.css +1 -0
  105. data/app/assets/stylesheets/editable_components/blaze/objects.media.min.css +1 -0
  106. data/app/assets/stylesheets/editable_components/blaze/objects.modals.min.css +1 -0
  107. data/app/assets/stylesheets/editable_components/blaze/objects.panels.min.css +1 -0
  108. data/app/assets/stylesheets/editable_components/blaze/themes/blaze.example.min.css +1 -0
  109. data/app/assets/stylesheets/editable_components/blaze/utilities.alignment.min.css +1 -0
  110. data/app/assets/stylesheets/editable_components/blaze/utilities.boxing.min.css +1 -0
  111. data/app/assets/stylesheets/editable_components/blaze/utilities.elevation.min.css +1 -0
  112. data/app/assets/stylesheets/editable_components/blaze/utilities.sizes.min.css +1 -0
  113. data/app/assets/stylesheets/editable_components/dragula/dragula.css +22 -0
  114. data/app/assets/stylesheets/editable_components/dragula/dragula.js +908 -0
  115. data/app/assets/stylesheets/editable_components/dragula/dragula.min.css +1 -0
  116. data/app/assets/stylesheets/editable_components/dragula/dragula.min.js +1 -0
  117. data/app/assets/stylesheets/editable_components/main.sass +225 -0
  118. data/app/assets/stylesheets/editable_components/medium-editor/API.md +520 -0
  119. data/app/assets/stylesheets/editable_components/medium-editor/CHANGES.md +1043 -0
  120. data/app/assets/stylesheets/editable_components/medium-editor/CODE_OF_CONDUCT.md +13 -0
  121. data/app/assets/stylesheets/editable_components/medium-editor/CONTRIBUTING.md +56 -0
  122. data/app/assets/stylesheets/editable_components/medium-editor/CUSTOM-EVENTS.md +223 -0
  123. data/app/assets/stylesheets/editable_components/medium-editor/LICENSE +36 -0
  124. data/app/assets/stylesheets/editable_components/medium-editor/MAINTAINERS.md +33 -0
  125. data/app/assets/stylesheets/editable_components/medium-editor/OPTIONS.md +663 -0
  126. data/app/assets/stylesheets/editable_components/medium-editor/README.md +725 -0
  127. data/app/assets/stylesheets/editable_components/medium-editor/UPGRADE-5.md +146 -0
  128. data/app/assets/stylesheets/editable_components/medium-editor/medium-editor.css +230 -0
  129. data/app/assets/stylesheets/editable_components/medium-editor/medium-editor.js +7876 -0
  130. data/app/assets/stylesheets/editable_components/medium-editor/medium-editor.min.css +1 -0
  131. data/app/assets/stylesheets/editable_components/medium-editor/medium-editor.min.js +4 -0
  132. data/app/assets/stylesheets/editable_components/medium-editor/themes/beagle.css +78 -0
  133. data/app/assets/stylesheets/editable_components/medium-editor/themes/beagle.min.css +1 -0
  134. data/app/assets/stylesheets/editable_components/medium-editor/themes/bootstrap.css +67 -0
  135. data/app/assets/stylesheets/editable_components/medium-editor/themes/bootstrap.min.css +1 -0
  136. data/app/assets/stylesheets/editable_components/medium-editor/themes/default.css +63 -0
  137. data/app/assets/stylesheets/editable_components/medium-editor/themes/default.min.css +1 -0
  138. data/app/assets/stylesheets/editable_components/medium-editor/themes/flat.css +58 -0
  139. data/app/assets/stylesheets/editable_components/medium-editor/themes/flat.min.css +1 -0
  140. data/app/assets/stylesheets/editable_components/medium-editor/themes/mani.css +57 -0
  141. data/app/assets/stylesheets/editable_components/medium-editor/themes/mani.min.css +1 -0
  142. data/app/assets/stylesheets/editable_components/medium-editor/themes/roman.css +58 -0
  143. data/app/assets/stylesheets/editable_components/medium-editor/themes/roman.min.css +1 -0
  144. data/app/assets/stylesheets/editable_components/medium-editor/themes/tim.css +67 -0
  145. data/app/assets/stylesheets/editable_components/medium-editor/themes/tim.min.css +1 -0
  146. data/app/controllers/editable_components/blocks_controller.rb +36 -0
  147. data/app/helpers/editable_components/application_helper.rb +4 -0
  148. data/app/jobs/editable_components/application_job.rb +4 -0
  149. data/app/mailers/editable_components/application_mailer.rb +6 -0
  150. data/app/models/editable_components/application_record.rb +5 -0
  151. data/app/models/editable_components/block.rb +176 -0
  152. data/app/models/editable_components/concerns/editable.rb +34 -0
  153. data/app/models/editable_components/item.rb +50 -0
  154. data/app/models/editable_components/item_boolean.rb +23 -0
  155. data/app/models/editable_components/item_datetime.rb +14 -0
  156. data/app/models/editable_components/item_file.rb +46 -0
  157. data/app/models/editable_components/item_float.rb +23 -0
  158. data/app/models/editable_components/item_hash.rb +16 -0
  159. data/app/models/editable_components/item_integer.rb +23 -0
  160. data/app/models/editable_components/item_string.rb +29 -0
  161. data/app/models/editable_components/item_text.rb +19 -0
  162. data/app/views/editable_components/_admin_toolbar.html.erb +105 -0
  163. data/app/views/editable_components/_block.html.erb +6 -0
  164. data/app/views/editable_components/_block_image.html.erb +6 -0
  165. data/app/views/editable_components/_block_multi_text.html.erb +7 -0
  166. data/app/views/editable_components/_block_slide.html.erb +6 -0
  167. data/app/views/editable_components/_block_slider.html.erb +7 -0
  168. data/app/views/editable_components/_block_text.html.erb +5 -0
  169. data/app/views/editable_components/_block_text_with_image.html.erb +12 -0
  170. data/app/views/editable_components/_blocks.html.erb +12 -0
  171. data/config/initializers/editable_components.rb +72 -0
  172. data/config/routes.rb +4 -0
  173. data/db/migrate/20170414173603_create_editable_components_blocks.rb +18 -0
  174. data/db/migrate/20170414173610_create_editable_components_items.rb +11 -0
  175. data/db/migrate/20170414173611_add_items_booleans.rb +5 -0
  176. data/db/migrate/20170414173612_add_items_datetimes.rb +5 -0
  177. data/db/migrate/20170414173613_add_items_files.rb +5 -0
  178. data/db/migrate/20170414173614_add_items_floats.rb +5 -0
  179. data/db/migrate/20170414173615_add_items_hashes.rb +5 -0
  180. data/db/migrate/20170414173616_add_items_integers.rb +5 -0
  181. data/db/migrate/20170414173617_add_items_strings.rb +5 -0
  182. data/db/migrate/20170414173618_add_items_texts.rb +5 -0
  183. data/lib/data/img1.jpg +0 -0
  184. data/lib/editable_components.rb +87 -0
  185. data/lib/editable_components/engine.rb +21 -0
  186. data/lib/editable_components/version.rb +3 -0
  187. data/lib/tasks/editable_components_tasks.rake +4 -0
  188. metadata +264 -0
@@ -0,0 +1,1043 @@
1
+ 5.23.0 / 2017-03-02
2
+ ==================
3
+ * Only add schemes to URLs with hostnames #1258
4
+ * Fix problem with addClassToAnchors #1293
5
+ * Adding new 'html' button from #1235 #1291
6
+ * Don't encode fragment as part of linkValidation #1257
7
+
8
+
9
+ 5.22.2 / 2017-01-19
10
+ ==================
11
+ * Efficiency: Compile RegEx once #1230
12
+ * Error in console at link selection #1249
13
+ * Check for this.anchorPreview when hiding #1280
14
+ * Save some CPU calculations #1271
15
+
16
+
17
+ 5.22.1 / 2016-09-29
18
+ ==================
19
+ * Fix encoded urls (in linkValidaton) #1219
20
+ * Fix CommonJS environment #1221
21
+
22
+
23
+ 5.22.0 / 2016-09-03
24
+ ==================
25
+ * Add new extensions to extensions README #1188
26
+ * Fix iframe div #1179
27
+ * Fix placeholder text color in flat theme #1192
28
+ * Add unwrapTags option to paste extension #1177
29
+ * Remove first empty paragraph on backspace #1187
30
+ * Update grunt-contrib-jasmine #1185
31
+ * Added Embed Button links to README #1183
32
+
33
+
34
+ 5.21.1 / 2016-08-11
35
+ ==================
36
+ * Make linkValidation allow hash links #1143
37
+ * Fix toolbar in absolute container #1152
38
+ * Fix caret issue in blockquote #1162
39
+ * Handle new Google Docs font weights #1168
40
+ * Add external button example #1175
41
+
42
+
43
+ 5.21.0 / 2016-06-21
44
+ ==================
45
+ * Fix issue with electron environment #1125
46
+ * Fix for paste and placeholder extensions & add/remove element events #1124
47
+ * Placeholder is visible when only empty table is in Editor #1128
48
+
49
+
50
+ 5.20.2 / 2016-06-17
51
+ ==================
52
+ (5.20.1 was skipped because of a bad release)
53
+ * Fix test failure in Chrome 51 #1114
54
+ * Fix slow CSS selector #1115
55
+ * Improve documentation for toolbar.relativeContainer option #1122
56
+ * Fix cursor rendering incorrectly in Firefox #1113
57
+
58
+
59
+ 5.20.0 / 2016-06-02
60
+ ==================
61
+ * Fix anchor-preview bug where click preview no longer prefills href into anchor form
62
+ * Add getEditorFromElement for retrieving an editor instance from an editor element
63
+ * Respect form.reset for textarea elements within forms passed into the editor
64
+ * Add getContent + resetContent helpers for retrieving/reverting content of editors
65
+ * Add support for extensions preventing blur on editor when user interacts with extension elements
66
+
67
+
68
+ 5.19.1 / 2016-05-28
69
+ ==================
70
+ * Add feature for toggling anchor preview for empty or # links
71
+ * Fix keyboard paste to properly fire editablePaste
72
+ * Standardize editablePaste to always fire with mock event object
73
+
74
+
75
+ 5.18.0 / 2016-05-21
76
+ ==================
77
+ * Add support calling document.execCommand with arbitrary argument from execAction
78
+ * Also deprecate custom execAction option names in favor of standard .value
79
+ * Fix error from addElements when initializing editor with no elements
80
+
81
+
82
+ 5.17.0 / 2016-05-17
83
+ ==================
84
+ * Improved paste handling
85
+ * Includes proper support for keyboard paste in firefox
86
+ * More cleanup when pasting from Word
87
+ * Introduce support for adding and removing elements from an existing editor instances
88
+ * New addElements and removeElements methods
89
+ * Add checkContentChanged method for manually triggering editableInput
90
+ * Add selection.selectRange helper method
91
+
92
+
93
+ 5.16.1 / 2016-04-14
94
+ ==================
95
+ * Fix incorrect word breaking
96
+
97
+
98
+ 5.16.0 / 2016-04-12
99
+ ==================
100
+ * Add support for multiple targets for attaching/detach event handlers
101
+ * Add support for chaining calls to attach/detach events
102
+ * Fix issue with click anchor-preview when using showWhenToolbarIsVisible
103
+ * Fix IE issue with line-breaking within editor
104
+ * Fix Firefox error when using elements other than divs as editor
105
+
106
+
107
+ 5.15.1 / 2016-04-05
108
+ ==================
109
+ * Fix link validation in anchor extension
110
+ * Improve performance when dealing with a lot of data
111
+ * Enable functions to be used as keyboard commands
112
+
113
+
114
+ 5.15.0 / 2016-03-23
115
+ ==================
116
+ * Use class instead of inline style for hiding/showing anchor form
117
+ * Add helpers for hiding/showing form into form extension base class
118
+ * Fix issue where auto-link extension re-enabled IE's built-in auto-link when other instances still existed
119
+ * Fix anchor form to display form before attempting to position correctly
120
+ * Add new selection.clearSelection() helper method for moving cursor to beginning/end of selection
121
+
122
+
123
+ 5.14.4 / 2016-02-25
124
+ ==================
125
+ * editableInput event fixes
126
+ * Fix issue with event not triggering when dragging in images
127
+ * Fix issue with event not triggering on autolink
128
+ * Fix issue with event not triggering on insertHTML in Edge
129
+ * Fix issue with hitting enter when directly inside figcaption and other block elements
130
+
131
+
132
+ 5.14.3 / 2016-02-22
133
+ ==================
134
+ * Fix behaviour of "Open in new window" checkbox for Firefox
135
+ * Added instruction to disable file dragging all together
136
+ * Fix issue with image dragging and dropping at end of target
137
+ * Fix issue with extra space when space already exists
138
+
139
+
140
+ 5.14.2 / 2016-02-10
141
+ ==================
142
+ * Support Microsoft Edge
143
+ * Fallback to custom insertHTML command instead of built-in command for Edge
144
+ * Use shim code for detecting input on contenteditable for Edge
145
+ * Fix issue with converting blockquotes to paragraphs in Edge
146
+ * Update documentation, fix tests, and include Edge in browser testing
147
+
148
+
149
+ 5.14.1 / 2016-02-05
150
+ ==================
151
+ * Fix issue with saving selection after newline and whitespace text nodes
152
+ * Fix import/export selection to prefer start of nodes over end of nodes
153
+ * Fix for getClosestBlockContainer utility function
154
+ * Fix for getTopBlockContainer utility function
155
+ * Deprecate getFirstTextNode utility function
156
+
157
+
158
+ 5.14.0 / 2016-01-31
159
+ ==================
160
+ * Added pre clean replacements
161
+ * Fixed an infinite loop
162
+ * Handled enter event for empty h2/h3 tag
163
+
164
+
165
+ 5.13.0 / 2016-01-18
166
+ ==================
167
+ * Added stickyTopOffset option to keep on the screen a sticky toolbar
168
+ * Fixed misplacement of buttons when selection is near to the right edge
169
+ * Updated dev dependencies
170
+ * Added reference to README for who is using medium-editor
171
+
172
+
173
+ 5.12.0 / 2015-12-15
174
+ ==================
175
+ * Fix issue with image-only selections
176
+ * Trim src when using the image toolbar button
177
+ * Fix auto linking with comments
178
+ * Documented the process of releasing a new version
179
+
180
+
181
+ 5.11.0 / 2015-12-05
182
+ ==================
183
+ * Updated table extension demo
184
+ * Removed the carriage return character from a demo file
185
+ * Updated checkLinkFormat function to support more schemes
186
+ * Fixed issue with disableExtraSpaces option to allow space at the end of line
187
+ * Use editableInput instead of input event for textarea syncing
188
+ * Fixed style for correct positioning of placeholder
189
+ * Allowed to remove blockquote by pressing delete at beginning of the quote
190
+ * Fixed failing test cases in IE9 and IE10
191
+
192
+
193
+ 5.10.0 / 2015-10-30
194
+ ==================
195
+ * Added disableExtraSpaces option for preventing errant spaces
196
+ * Added editalbeKeydownSpace event
197
+ * Fix issue with return key at the end of text with bad formatting
198
+ * Added new font name extension (beta)
199
+ * Documentation updates and cleanup
200
+
201
+
202
+ 5.9.0 / 2015-10-19
203
+ ==================
204
+ * Add showWhenToolbarIsVisible option for displaying anchor-preview when toolbar is visible
205
+ * Remove trailing whitespace when creating links via anchor extension
206
+ * Fix issue with escaping list items via pressing enter
207
+ * Fix font-awesome links in demo pages
208
+ * Updates to documentation around creating links
209
+
210
+
211
+ 5.8.3 / 2015-10-08
212
+ ==================
213
+ * Fix changing link on images
214
+
215
+
216
+ 5.8.2 / 2015-09-21
217
+ ==================
218
+ * Fix type of elements which can contain auto-links
219
+
220
+
221
+ 5.8.1 / 2015-09-16
222
+ ==================
223
+ * Fix inconsistancies and errors in isDescendant utility method
224
+
225
+
226
+ 5.8.0 / 2015-09-13
227
+ ==================
228
+ * Added relativeContainer options for the toolbar
229
+ * Fix issue with auto-linking across consecutive list-items
230
+ * Added beagle theme
231
+
232
+
233
+ 5.7.0 / 2015-08-21
234
+ ==================
235
+ * Fix backwards compatability issue with how keyboard commands extension handles 'alt'
236
+ * Rewrite which event placeholder extension listens to for hiding/showing placeholder
237
+ * Fix issue where placeholder is not hidden when calling setContent()
238
+ * Fix issue where placeholder is displayed incorrectly when hideOnClick option is true
239
+
240
+
241
+ 5.6.3 / 2015-08-18
242
+ ==================
243
+ * Ensure textarea ids are unique on entire page
244
+ * Fix broken auto-link within block elements other than paragraphs
245
+ * Fix issue with editor element being removed in IE11
246
+ * Remove references to global variables from internal code
247
+
248
+
249
+ 5.6.2 / 2015-08-11
250
+ ==================
251
+ * Fix a regression in the paste extension related to `pasteHTML` function
252
+
253
+
254
+ 5.6.1 / 2015-08-10
255
+ ==================
256
+ * Fix issue with creating anchors and restoring selection at the beginning of paragraphs
257
+ * Fix issue with creating anchors and restoring selection within list items and nested blocks
258
+ * Ensure CTRL + M is respected as a way to insert new lines
259
+
260
+
261
+ 5.6.0 / 2015-08-07
262
+ ==================
263
+ * Add new 'tim' theme for medium-editor toolbar
264
+ * Fix issue Chrome generated comment tags when pasting
265
+ * Fix issue where 'editableInput' is triggered multiple times when creating links
266
+
267
+
268
+ 5.5.4 / 2015-08-04
269
+ ==================
270
+ * Fix issue with anchor and selection inconsitencies in IE
271
+
272
+
273
+ 5.5.3 / 2015-08-03
274
+ ==================
275
+ * Fix issue with replacing a pre-existing link
276
+ * Fix issue with selection after creating a link after empty paragraphs
277
+
278
+
279
+ 5.5.2 / 2015-08-02
280
+ ==================
281
+ * Fix issue where block elements where cleaned up incorrectly when pasting
282
+ * Fix anchor form checkboxes to reflect status of selected link
283
+ * Fix issue with creating links in same paragraph as another link
284
+ * Fix issue with creating links after empty paragraphs
285
+ * Ensure all attributes are copied from textareas to divs
286
+
287
+
288
+ 5.5.1 / 2015-07-23
289
+ ==================
290
+ * Fix appearance of anchor form when checkboxes are present
291
+ * Fix breaking issue with standardizeSelectionStart option
292
+
293
+
294
+ 5.5.0 / 2015-07-21
295
+ ==================
296
+ * Add setContent method into core API, which triggers editableInput
297
+
298
+
299
+ 5.4.1 / 2015-07-20
300
+ ==================
301
+ * Fix issue where custom anchor-preview extensions weren't overriding built-in anchor preview
302
+ * Add documentation from wiki into the source code
303
+
304
+
305
+ 5.4.0 / 2015-07-16
306
+ ==================
307
+ * Add support for including 'alt' key in keyboard-commands
308
+
309
+
310
+ 5.3.0 / 2015-07-07
311
+ ==================
312
+ * Fix issue with disabling image drag & drop via imageDragging option
313
+ * Deprecate image-dragging extension
314
+ * Introduce file-dragging extension
315
+ * Ensure autolink urls respect targetBlank option
316
+ * Expose importSelection and exportSelection as generic Selection helpers
317
+
318
+
319
+ 5.2.0 / 2015-06-29
320
+ ==================
321
+ * Move allowMultiParagraphSelection into toolbar options
322
+ * Deprecate global allowMultiParagraphSelection option
323
+ * Fix issue with allowMultiParagraphSelection option over empty elements
324
+ * Fix issue with creating links producing multiple anchor tags
325
+ * Fix issue where anchor preview displays while toolbar is visible
326
+ * Add demo pages for example extension and example button
327
+
328
+
329
+ 5.1.0 / 2015-06-26
330
+ ==================
331
+ * Add showToolbarDefaultAction helper method to form extension
332
+ * Ensure elements generated for textareas have a unique id
333
+ * Ensure all added attributes are removed during destroy
334
+ * Cleanup divs generated by Chrome during justify actions
335
+ * Add parameter to anchorPreview.positionPreview for reusability
336
+
337
+
338
+ 5.0.0 / 2015-06-18
339
+ ==================
340
+ * All deprecated functions have been removed
341
+ * Keyboard Shorcuts are now part of an extension and not attached to specific button/commands
342
+ * Placeholders are now part of an extension with its own dedicated options
343
+ * Toolbar is now an extension with its own dedicated options
344
+ * firstHeader and secondHeader are gone you should use h1 thru h6
345
+ * Support pre-releases
346
+ * Buttons
347
+ * The array of buttons can now contain objects, for overriding any part of the button object
348
+ * This replaces the custom object value for the buttonLabels option
349
+ * API
350
+ * Unique id for MediumEditor instance will now remain unique (regardless of how many instances are created)
351
+ * .statics references are gone
352
+ * .trigger supports triggering events without needing to declare the event
353
+ * .callExtensions(), .setToolbarPosition(), and .hideToolbarDefaultActions() have been removed
354
+ * Extension
355
+ * .window & .document are now exposed as members of the Extension
356
+ * init no longer is passed MediumEditor instance as first argument
357
+ * CSS
358
+ * All classes are now `medium-editor` prefixed
359
+ * Util
360
+ * getProp, derives, getSelectionData, setObject & getObject are gone
361
+ * getSelectionRange & getSelectionStart are now in Selection
362
+
363
+
364
+ 4.12.5 / 2015-06-16
365
+ ==================
366
+ * Fix issue with restoring selection within nested block elements
367
+
368
+
369
+ 4.12.4 / 2015-06-15
370
+ ==================
371
+ * Ensure auto-link will never select an empty element (br, hr, input, etc.)
372
+
373
+
374
+ 4.12.3 / 2015-06-12
375
+ ==================
376
+ * Fix bug with un-linked auto-links causing unexpected cursor positioning
377
+
378
+
379
+ 4.12.2 / 2015-06-10
380
+ ==================
381
+ * Fix broken keyboard shortcuts
382
+
383
+
384
+ 4.12.1 / 2015-06-02
385
+ ==================
386
+ * Fix break with updateOnEmptySelection option for static toolbars
387
+
388
+
389
+ 4.12.0 / 2015-06-01
390
+ ==================
391
+ * Fix pasting links when targetBlank option is being used
392
+ * Fix for spellcheck option after destroy
393
+ * Fix over-reaching keyboard shortcuts for commands
394
+ * Expose new 'positionToolbar' custom event
395
+ * Add new isKey() helper in util
396
+ * Add cleanup on destroy for auto-link and placeholder extensions
397
+ * Base extension changes
398
+ * Add getEditorElements(), getEditorId(), and getEditorOption() helpers
399
+ * Add on(), off(), subscribe(), and execAction() helpers
400
+ * Introduce destroy() lifecycle method + deprecate deactivate()
401
+
402
+
403
+ 4.11.1 / 2015-05-26
404
+ ==================
405
+ * Fix issue with auto-linked text after manually unlinking
406
+ * Fix some incorrect TLDs for auto-link
407
+
408
+
409
+ 4.11.0 / 2015-05-26
410
+ ==================
411
+ * Add hideToolbar and showToolbar custom events
412
+ * Add hideOnClick option for placeholder extension
413
+ * Fix issue with linebreaks in Safari
414
+ * Fix issue with calling setup again after destroy
415
+ * Add support for CDN hosting
416
+ * Pass window and document to each extension
417
+ * Deprecate .parent property of extensions
418
+
419
+
420
+ 4.10.2 / 2015-05-21
421
+ ==================
422
+ * Auto-Link Fixes
423
+ * Don't auto-link text after it is manually unlinked
424
+ * Trigger auto-linking when focus is lost (ie Tab key)
425
+ * Fix issue where link appears and immediately disappears when hitting Enter in IE11
426
+ * Fix issue where hostname with more than three w's only auto-links final three w's in the name
427
+ * Fix issue where valid urls were not auto-linked
428
+ * Fix issue where some text was auto-linked when it shouldn't be
429
+
430
+
431
+ 4.10.1 / 2015-05-20
432
+ ==================
433
+ * Fix paste issue with plain-text containing multiple paragraphs
434
+ * Fix issue with incorrect cursor positon after creating a list
435
+ * Fix disabledDoubleReturn option within a sentence
436
+ * Allow for nested contenteditables
437
+ * New style of passing options for anchor-preview and anchor
438
+ * Introduce extensions.button + extensions.form as extendable base extensions
439
+ * Convert anchor, fontsize, and anchor-preview to updated extensions model
440
+
441
+
442
+ 4.9.0 / 2015-05-18
443
+ ==================
444
+ * New auto-link support for detecting urls and converting them to links
445
+ * Fix target _blank issue for links in Firefox
446
+ * Don't show placeholders for empty lists
447
+ * Allow for overriding image drag and drop via extension
448
+
449
+
450
+ 4.8.1 / 2015-05-13
451
+ ==================
452
+ * Fix error thrown when loading MediumEditor js from head
453
+
454
+
455
+ 4.8.0 / 2015-05-11
456
+ ==================
457
+ * Expose new 'editableInput' event for monitoring changes to editor
458
+ * Cleanup contenteditable elements created for textareas
459
+
460
+
461
+ 4.7.3 / 2015-05-07
462
+ ==================
463
+ * Update version number in dist files
464
+
465
+
466
+ 4.7.2 / 2015-05-06
467
+ ==================
468
+ * Add shortcut to insert a link (ctrl/cmd + k)
469
+ * Fix `this.getAttribute is not a function` error
470
+
471
+
472
+ 4.7.1 / 2015-04-30
473
+ ==================
474
+ * Make anchor preview wrap for long links
475
+ * Fix issue when clean pasting spans with child nodes
476
+
477
+
478
+ 4.7.0 / 2015-04-27
479
+ ==================
480
+ * Expose importSelection + exportSelection helper methods
481
+ * Fix issue with initialization of MediumEditor using textarea
482
+ * Introduce jscs
483
+
484
+ 4.6.0 / 2015-04-22
485
+ ==================
486
+ * Add 'beta' version of fontSize button/form
487
+ * Add option for enabling/disabling spellcheck
488
+ * Add titles to toolbar buttons for tooltips
489
+ * Use actual anchor tag in anchor preview
490
+ * Fix anchor preview issue with tags nested inside anchors
491
+
492
+ * Speed up travis builds
493
+ * Convert paste handler into overrideable extension
494
+
495
+
496
+ 4.5.2 / 2015-04-14
497
+ ==================
498
+ * Fix blur event detection when clicking on elements that don't clear focus
499
+
500
+
501
+ 4.5.1 / 2015-04-14
502
+ ==================
503
+ * Fix broken 'paste.cleanPastedHtml' option and rename to 'paste.cleanPastedHTML'
504
+
505
+
506
+ 4.5.0 / 2015-04-13
507
+ ==================
508
+ * Expose 'unsubscribe' for custom events
509
+ * Detach custom events when editor is destroyed
510
+ * Fix fontawesome url in demo page
511
+
512
+
513
+ 4.4.0 / 2015-04-11
514
+ ==================
515
+ * Expose smart 'blur' and 'focus' events which account for toolbar interaction
516
+ * Expose selectElement method for selecting text and updating toolbar
517
+ * Fix always wrapping pasted text in a <p> tag
518
+
519
+
520
+ 4.3.0 / 2015-04-10
521
+ ==================
522
+ * Add override options for pasteHTML and cleanPaste
523
+ * Support overriding of scss theme variables
524
+ * Fix for justify button states in IE
525
+ * New helpers for manipulating nested objects
526
+ * Internal tooling prep for options and defaults
527
+
528
+
529
+ 4.2.0 / 2015-04-05
530
+ ==================
531
+ * Add textarea support
532
+
533
+
534
+ 4.1.1 / 2015-04-01
535
+ ==================
536
+ * Fix .version issue
537
+
538
+
539
+ 4.1.0 / 2015-03-29
540
+ ==================
541
+ * Expose Util and Selection methods externally via MediumEditor.util and MediumEditor.selection
542
+ * Expose MediumEditor.version for version info
543
+ * Add support for custom cleaning of attributes and tags for .pasteHTML
544
+ * Move from jslint to jshint
545
+
546
+
547
+ 4.0.3 / 2015-03-27
548
+ ==================
549
+ * Introduce 'removeFormat' button, for removing formatting from selection
550
+ * Fix issues with focus/blur when using standardizeSelectionStart option
551
+
552
+
553
+ 4.0.2 / 2015-03-26
554
+ ==================
555
+ * Fix bug causing toolbar to disappaer on click in safari (rollback fix from 4.0.1)
556
+ * Break up anchor form extension logic into more overrideable parts
557
+
558
+
559
+ 4.0.1 / 2015-03-24
560
+ ==================
561
+ * Fix issue with dragged in image sizes
562
+ * Fix issues with focus/blur when using standardizeSelectionStart option
563
+
564
+
565
+ 4.0.0 / 2015-03-23
566
+ ==================
567
+ * Introduced custom events (consumable externally)
568
+ * Reduce API surface area
569
+ * Deprecated activate & deactivated. Exposed setup and destroy as replacements
570
+ * Updated documentation to reflect API changes
571
+ * HTML standardization around list items
572
+ * Fixed throttling
573
+ * Added superscript & subscript css
574
+ * Added better paste cleaning for Microsoft Word
575
+ * Convert anchor preview into overrideable extension
576
+ * Added disableAnchorPreview option
577
+
578
+
579
+ 3.0.9 / 2015-03-10
580
+ ==================
581
+ * Extract toolbar
582
+ * Extract anchor preview
583
+
584
+
585
+ 3.0.8 / 2015-02-27
586
+ ==================
587
+ * MIT License
588
+ * Use code from selection.js which is duplicated in core.js
589
+ * Fix bug in paste handling + increase paste coverage
590
+
591
+
592
+ 3.0.7 / 2015-02-26
593
+ ==================
594
+ * Ensure static toolbar won't render outside window + minimize when toolbar overflows
595
+ * Fix flashing static-toolbar bug
596
+ * Fix bug with sticky-toolbar when scrolling past bottom of contenteditable
597
+ * Fix css declaration of linear-gradient
598
+ * Fix AMD "Uncaught TypeError: undefined is not a function" issue
599
+ * Account for 'full' actions when doing queryCommandState
600
+ * Fix bugs in modified queryCommandState calls
601
+
602
+
603
+ 3.0.0 / 2015-02-23
604
+ ==================
605
+ * Extract anchor form code from core code and convert into an extension
606
+ * Expose onShowToolbar and onHideToolbar as options
607
+ * Change button method names (now `setActive` and `setInactive`) to differentiate from core's `activate` and `deactivate`
608
+ * Simplify blur check selection
609
+ * Add Sauce Labs configuration to automate cross-browser testing
610
+ * Add IE9 polyfill to repo
611
+ * Let 'meta' key trigger shortcuts
612
+
613
+
614
+ 2.4.6 / 2015-02-18
615
+ ==================
616
+ * Add basic support to keyboard shortcuts
617
+
618
+
619
+ 2.4.5 / 2015-02-17
620
+ ==================
621
+ * Fix main file reference in npm package
622
+
623
+
624
+ 2.4.3 / 2015-02-16
625
+ ==================
626
+ * Introduce full content actions
627
+
628
+
629
+ 2.4.2 / 2015-02-15
630
+ ==================
631
+ * Fix disableDoubleReturn option
632
+
633
+
634
+ 2.4.1 / 2015-02-15
635
+ ==================
636
+ * Fix isListItemChild call
637
+
638
+
639
+ 2.4.0 / 2015-02-15
640
+ ==================
641
+ * Split source code into several files for better development flow
642
+ * Make saveSelection and restoreSelection more consistant cross browser
643
+ * Use document.queryCommandState for some button toolbar states
644
+ * Add selection storage
645
+ * Call extensions deactivate when deactivating the editor
646
+ * Turn Anchor button into an extension
647
+
648
+
649
+ 2.3.0 / 2015-02-11
650
+ ==================
651
+ * Fix various selection and positioning bugs
652
+ * Introduce commands as combination of buttons and extensions
653
+ * Update aria label so that setting secondHeader activates the toolbar
654
+ * Don't use styles for detecting underline + strikethrough
655
+ * Fix 'imageDragging: false' option
656
+ * Fix list item tab identation
657
+ * Add extension onHide command
658
+
659
+
660
+ 2.2.0 / 2015-02-05
661
+ ==================
662
+ * Fix bug in getSelectedParentElement + Fix tests in browsers
663
+ * Fall back to shimmed insertHTML in cases where firefox throws
664
+ when calling insertHTML
665
+ * Prevent "Argument not optional" error
666
+ * Prevent infinite loop after findAdjacentTextNodeWithContent
667
+ * Remove cleanups from contenteditable false areas
668
+ * Firefox fix: Don't modify value of input before calling execCommand()
669
+ * Fix selection issue for clean pasted html test case in firefox
670
+ * Add image drag and drop support
671
+
672
+
673
+ 2.1.3 / 2015-01-31
674
+ ==================
675
+ * Fix issue with multiple elements with the same class
676
+ on the same editor instance
677
+
678
+
679
+ 2.1.2 / 2015-01-30
680
+ ==================
681
+ * Specify default npm registry (`http://registry.npmjs.org`)
682
+
683
+
684
+ 2.1.1 / 2015-01-30
685
+ ==================
686
+ * Adds support for newlines in placeholder attribute
687
+ * Adds support and documentation for new toolbar extensions
688
+ * Adds support for changing 'open in new window' label text
689
+ * Fixes bug where `nodeValue` could unexpectedly be null
690
+ * A couple of fixes to make tests a bit more reliable when run in the browser
691
+
692
+
693
+ 2.1.0 / 2015-01-27
694
+ ==================
695
+
696
+ * Handles ESC key in link editor
697
+ * Standardizes usage of setTimeout for UX delays vs debouncing vs deferring
698
+ * Adds an optional onShowToolbar method
699
+ * Supports enabling/disabling checkSelection updates externally
700
+ * Standardizes where in the DOM a range begins
701
+ * Adds ARIA role information
702
+ * Fixes off() not removing any event listeners
703
+ * Misc minor bug fixes and improvements
704
+
705
+
706
+ 2.0.0 / 2015-01-06
707
+ ==================
708
+
709
+ * Adds static toolbar feature
710
+ * Now uses textContent instead of innerText
711
+ * Fixes plain text paste on IE
712
+ * Hides placeholder on mouse click
713
+ * Adds a 'collapse' option to 'selectElementContents' helper
714
+ * Allows toolbar button states to change when selection is collapsed
715
+ * In hideToolbarActions, calls an optional 'onHideToolbar' method
716
+ * Ensures that ul.id and anchor.id are unique
717
+ * Avoids grabbing selection on keypress for contenteditable except for spacebar
718
+ * Supports disabling anchorForm, avoiding unnecessary event handling and element creation
719
+ * Supports disabling placeholders, including not attaching event handlers when not needed
720
+ * Various minor bug fixes and improvements
721
+
722
+
723
+ 1.9.13 / 2014-11-24
724
+ ===================
725
+
726
+ * Adds a strikethrough option in buttonLabel
727
+ * Now uses `options.elementsContainer` to calculate ID
728
+ * Removes events during deactivate
729
+
730
+
731
+ 1.9.10 / 2014-11-17
732
+ ===================
733
+
734
+ * Adds custom doc and win functionality, now you can specify the editor container
735
+ * Minor bugfixes
736
+
737
+
738
+ 1.9.8 / 2014-10-21
739
+ ==================
740
+
741
+ * Fixes 'this' out of scope
742
+
743
+
744
+ 1.9.7 / 2014-10-20
745
+ ==================
746
+
747
+ * Adds justify buttons
748
+ * Fix #308 by passing clipboard content through self.htmlEntities before inserting
749
+ * Minor bug fixes
750
+
751
+
752
+ 1.9.4 / 2014-09-16
753
+ ==================
754
+
755
+ * Adds support for tab based indenting and outdenting of <ul> and <ol>
756
+ * Adds a save button to the anchor form
757
+ * Improves toolbar positioning
758
+ * Adds anchorButton and anchorButtonClass options
759
+
760
+
761
+ 1.9.0 / 2014-08-08
762
+ ==================
763
+
764
+ * Extensions
765
+ * Disables the toolbar when selecting within an element that has contenteditable="false"
766
+ * Fixes hidden placeholder content override
767
+
768
+
769
+ 1.8.14 / 2014-06-11
770
+ ===================
771
+
772
+ * Fixes bug where if you had an empty blockquote the placeholder would still be active
773
+ * Fixes bug that would create link without values
774
+ * Exposes save/restoreSelection()
775
+ * Allows customization of active/first/last button classes
776
+ * Adds a script to run app from the cli
777
+ * Adds protocols to checkLinkFormat regex
778
+
779
+
780
+ 1.8.8 / 2014-05-08
781
+ ==================
782
+
783
+ * Fixes unlink behavior on Firefox
784
+ * Fixes white space behavior at the end of anchors
785
+
786
+
787
+ 1.8.6 / 2014-05-03
788
+ ==================
789
+
790
+ * Adds non-minified CSS files to bower.json
791
+
792
+
793
+ 1.8.5 / 2014-05-01
794
+ ==================
795
+
796
+ * Changes to the element list or element selector now take effect on reactivation
797
+ * Changed innerHTML to textContent to prevent XSS through twisted href values
798
+ * Checks for data-disable-return on element on paste
799
+ * Adds disableEditing and elementsContainer options
800
+
801
+
802
+ 1.8.0 / 2014-04-12
803
+ ==================
804
+
805
+ * Removes anchor preview listeners on deactivate
806
+ * Implements clean paste
807
+ * Adds an option to validate links
808
+ * Adds a basic extensions support
809
+ * Misc minor fixes
810
+
811
+
812
+ 1.7.5 / 2014-03-30
813
+ ==================
814
+
815
+ * Fixes isActive toggling
816
+ * Removes anchor preview default value
817
+
818
+
819
+ 1.7.3 / 2014-03-22
820
+ ==================
821
+
822
+ * Fixes activate/deactivate behavior
823
+
824
+
825
+ 1.7.2 / 2014-03-22
826
+ ==================
827
+
828
+ * Removes DOM elements created by MediumEditor on deactivate
829
+
830
+
831
+ 1.7.1 / 2014-03-22
832
+ ==================
833
+
834
+ * Prevents new lines with shift+enter when disableReturn is set to true
835
+
836
+
837
+ 1.7.0 / 2014-03-22
838
+ ==================
839
+
840
+ * Removes compass dependency by using grunt with libsass
841
+ * Fixes subscript button markup
842
+ * Fixes anchor preview behavior for empty links and anchors
843
+ * Adds a new option to disable double returns
844
+
845
+
846
+ 1.6.7 / 2014-03-13
847
+ ==================
848
+
849
+ * Allows initialization with a single DOM node
850
+ * Adds indent and outdent buttons
851
+
852
+
853
+ 1.6.5 / 2014-03-08
854
+ ==================
855
+
856
+ * fixes some minor paste bugs
857
+ * adds a delay option for anchor toolbar
858
+ * fixes anchor toolbar initial positioning
859
+ * fixes heading and blockquote on IE
860
+
861
+
862
+ 1.6.1 / 2014-03-04
863
+ ==================
864
+
865
+ * fixes case where clicking anchor preview and then clicking into the anchorInput
866
+ causes hideToolbarActions to be called
867
+ * fixes window resize when toolbar element is not created
868
+
869
+
870
+ 1.6.0 / 2014-02-27
871
+ ==================
872
+
873
+ * Reorganizes CSS files
874
+ * Removes unused method bindElementToolbarEvents
875
+ * Adds a preview toolbar for anchors
876
+ * Removes paste event binding on deactivate
877
+
878
+
879
+ 1.5.4 / 2014-02-12
880
+ ==================
881
+
882
+ * Fixes filenames for main in bower.json
883
+ * Removes window resize event listener on deactivate
884
+
885
+
886
+ 1.5.3 / 2014-01-22
887
+ ==================
888
+
889
+ * Adds bootstrap theme
890
+ * Adds image button that converts selected text into an image tag
891
+ * Removes normalize.css dependency
892
+
893
+
894
+ 1.5.0 / 2014-01-16
895
+ ==================
896
+
897
+ * Adds 3 new themes: Roman, Mani e Flat
898
+
899
+
900
+ 1.4.5 / 2014-01-13
901
+ ==================
902
+
903
+ * Adds ability to set custom labels on buttons
904
+ * Updates uglify
905
+ * Fixes bug where pressing enter on formatted list item would generate
906
+ a new list instead of a new list item
907
+
908
+
909
+ 1.4.0 / 2013-12-13
910
+ ==================
911
+
912
+ * Adds new extra buttons: pre and strikethrough
913
+ * Fixes placeholder bug on paste
914
+ * Various code improvements
915
+ * Prevents returns using shift when disableReturn is set to true
916
+ * Improves CSS to avoid conflicts
917
+
918
+
919
+ 1.3.5 / 2013-11-27
920
+ ==================
921
+
922
+ * Fixes problem with text selection ending outside the container div
923
+ * Implements serialize method
924
+ * Adds a targetBlank option
925
+ * Fixes Firefox box-sizing declarations
926
+
927
+
928
+ 1.3.1 / 2013-11-19
929
+ ==================
930
+
931
+ * Fixes toolbar binding button issue with multi-editor mode
932
+
933
+
934
+ 1.3.0 / 2013-11-18
935
+ ==================
936
+
937
+ * Fixes data-disable-return not preventing paragraph creation
938
+ * Improves getSelectionElement() to work in any case
939
+ * Fixes multi element selection bug
940
+ * Fixes Issues #88 & #89
941
+ * Improves binding for multiple editor instance, checkSelection() is called only once per instance
942
+ * Improves allowMultiParagraphSelection filter by removing empty tags elements before counting
943
+ * Considers header tags has a paragraph too (same as medium)
944
+
945
+
946
+ 1.2.2 / 2013-11-07
947
+ ==================
948
+
949
+ * Removes blur event listener when disabling the toolbar
950
+ * Adds a light gradient opacity to the toolbar
951
+ * Fixes bug that would keep toolbar alive when moving out of the anchor input
952
+
953
+
954
+ 1.2.1 / 2013-11-07
955
+ ==================
956
+
957
+ * Fixes empty selectionNode.el bug
958
+ * Prevents toolbar opening when changing to selection elements
959
+ with the toolbar disabled
960
+ * Adds a transition to the toolbar when moving across elements
961
+
962
+
963
+ 1.2.0 / 2013-11-06
964
+ ==================
965
+
966
+ * Fixes issue on deactivation without enabled toolbar
967
+ * Fixes checkSelection error when disableToolbar option is enabled
968
+ * Adds new option to disable multiple paragraph selection
969
+ * Prevents paragraph creation on paste when disableReturn is set to true
970
+
971
+
972
+ 1.1.6 / 2013-10-24
973
+ ==================
974
+
975
+ * Adds extra buttons: superscript, subscript, ordered list and unordered list
976
+
977
+
978
+ 1.1.5 / 2013-10-23
979
+ ==================
980
+
981
+ * Changes buttons blacklist to whitelist
982
+
983
+
984
+ 1.1.4 / 2013-10-13
985
+ ==================
986
+
987
+ * Exports MediumEditor as module
988
+ * Changes "Underline" button to display "U" instead of "S"
989
+
990
+
991
+ 1.1.3 / 2013-10-08
992
+ ==================
993
+
994
+ * Pasted text is now wrapped into P elements
995
+
996
+
997
+ 1.1.2 / 2013-10-06
998
+ ==================
999
+
1000
+ * Changes the editor to use the formatBlock command to handle block elements
1001
+ * Fixes placeholder for empty elements
1002
+
1003
+
1004
+ 1.1.1 / 2013-10-04
1005
+ ==================
1006
+
1007
+ * Normalizes styles and scripts
1008
+ * Improves bower manifest
1009
+
1010
+
1011
+ 1.1.0 / 2013-10-03
1012
+ ==================
1013
+
1014
+ * Adds an option to disable the toolbar and maintain only the contenteditable behavior
1015
+ * Adds an option to disable returns
1016
+ * Adds an placeholder option for the contenteditable areas
1017
+
1018
+
1019
+ 1.0.3 / 2013-10-01
1020
+ ==================
1021
+
1022
+ * Fixes toolbar positioning on screen top
1023
+
1024
+
1025
+ 1.0.2 / 2013-09-24
1026
+ ==================
1027
+
1028
+ * Adds the possibility to pass an element list directly into initialization
1029
+ * Fixes issue with initial positioning when some actions are disabled
1030
+ * Don't rely on :last-child to style first/last element, as they may be hidden
1031
+
1032
+
1033
+ 1.0.1 / 2013-09-20
1034
+ ==================
1035
+
1036
+ * Changes demo texto to something more friendly
1037
+ * Fixes shift+enter behavior
1038
+
1039
+
1040
+ 1.0.0 / 2013-08-26
1041
+ ==================
1042
+
1043
+ * Initial release