Skip to content

Commit

Permalink
Remove unused/deprecated code and css
Browse files Browse the repository at this point in the history
Much of the UI-specific code is no longer part of content-kit-editor, it
being the responsibility instead of downstream consumers such as
ember-content-kit. This commit removes a lot of code that was no longer
being used.

  * Remove unused views, some unused commands
  * remove LinkCommand, Base command, TextFormatCommand
  * Remove unused methods from utils
  * Remove http-utils, only provide 'display' mode for image card
  * Remove unused test helpers
  * remove triggering selection* events
  * Remove 'escapeKey' trigger, favor `didUpdate` instead of trigger('update')
  * move placeholder image src to utils/
  * remove unused css
  • Loading branch information
bantic committed Nov 3, 2015
1 parent a6fcb27 commit 2f5eb4a
Show file tree
Hide file tree
Showing 60 changed files with 194 additions and 2,140 deletions.
77 changes: 0 additions & 77 deletions src/css/animations.less

This file was deleted.

5 changes: 0 additions & 5 deletions src/css/application.less
@@ -1,7 +1,2 @@
@import 'animations';
@import 'editor';
@import 'embeds';
@import 'icons';
@import 'message';
@import 'toolbar';
@import 'tooltip';
4 changes: 3 additions & 1 deletion src/css/editor.less
Expand Up @@ -2,7 +2,9 @@
* Editor
*/

@import 'variables.less';
// Colors
@themeColor : rgb(62, 163, 255);
@themeColorText : darken(@themeColor, 10%);

.ck-editor {
font-family: 'Lora', Georgia, serif;
Expand Down
91 changes: 0 additions & 91 deletions src/css/embeds.less

This file was deleted.

49 changes: 0 additions & 49 deletions src/css/icons.less

This file was deleted.

35 changes: 0 additions & 35 deletions src/css/message.less

This file was deleted.

12 changes: 0 additions & 12 deletions src/css/safari-hacks.css

This file was deleted.

0 comments on commit 2f5eb4a

Please sign in to comment.