Skip to content

Commit

Permalink
Merge pull request summernote#3264 from summernote/fix-misc-styles
Browse files Browse the repository at this point in the history
Rename and fix wrong attributes
  • Loading branch information
lqez authored Jun 19, 2019
2 parents 2c355e2 + 86f582f commit fc83ff0
Show file tree
Hide file tree
Showing 44 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion config/common/dev.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = function() {
{
loader: 'html-loader',
options: {
minimize: true,
minimize: false,
},
},
],
Expand Down
6 changes: 3 additions & 3 deletions config/common/webfont.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = {
files: './src/icons/*.svg',
dest: './src/less/font/',
dest: './dist/font/',
formats: ['ttf', 'eot', 'woff', 'woff2'],
fontName: 'summernote',
template: './src/icons/templates/summernote.css',
destTemplate: './src/less',
template: './src/icons/templates/summernote-icons.css',
destTemplate: './src/styles/',
templateFontName: 'summernote',
templateClassName: 'note-icon',
templateFontPath: './font/',
Expand Down
Empty file modified src/icons/align-left.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/icons/circle.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/icons/close.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/icons/frame.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/icons/menu-check.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/icons/minus.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/icons/pencil.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/icons/special-character.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/icons/square.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
5 changes: 0 additions & 5 deletions src/icons/templates/summernote.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/js/bs3/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import $ from 'jquery';
import ui from './ui';
import '../base/settings.js';

import '../../less/summernote.scss';
import '../../styles/summernote.scss';

$.summernote = $.extend($.summernote, {
ui: ui,
Expand Down
2 changes: 1 addition & 1 deletion src/js/bs4/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import $ from 'jquery';
import ui from './ui';
import '../base/settings.js';

import '../../less/summernote-bs4.scss';
import '../../styles/summernote-bs4.scss';

$.summernote = $.extend($.summernote, {
ui: ui,
Expand Down
2 changes: 1 addition & 1 deletion src/js/lite/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import $ from 'jquery';
import ui from './ui';
import '../base/settings.js';

import '../../less/summernote-lite.less';
import '../../styles/summernote-lite.less';

$.summernote = $.extend($.summernote, {
ui: ui,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import './summernote.css';
@import './summernote-icons.css';
@import "elements.less";

/* Theme Variables
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import './summernote.css';
@import './summernote-icons.css';
@import "elements.scss";

/* Theme Variables
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import './summernote.css';
@import './summernote-icons.css';
@import "elements.less";
@import "lite-ui/all.less";

Expand Down
2 changes: 1 addition & 1 deletion src/less/summernote.less → src/styles/summernote.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import './summernote.css';
@import './summernote-icons.css';
@import "elements.less";

/* Theme Variables
Expand Down
2 changes: 1 addition & 1 deletion src/less/summernote.scss → src/styles/summernote.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import './summernote.css';
@import './summernote-icons.css';
@import "elements.scss";

/* Theme Variables
Expand Down
3 changes: 2 additions & 1 deletion src/summernote-bs3.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
<div class="container">
<div style='float:right;'>
<a href='bs4.html'>Bootstrap4</a>
/
<a href='lite.html'>Lite</a>
-
/
<a href="examples/">Example</a>
</div>
<h1>Summernote with Bootstrap 3 </h1>
Expand Down
3 changes: 2 additions & 1 deletion src/summernote-bs4.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
<div class="container">
<div style='float:right;'>
<a href='index.html'>Bootstrap 3</a>
/
<a href='lite.html'>Lite</a>
-
/
<a href="examples/">Example</a>
</div>
<h1>Summernote with Bootstrap 4</h1>
Expand Down
3 changes: 2 additions & 1 deletion src/summernote-lite.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
<body>
<div style='float:right;'>
<a href='index.html'>Bootstrap 3</a>
/
<a href='bs4.html'>Bootstrap 4</a>
-
/
<a href="examples/">Example</a>
</div>
<h1>Summernote standalone</h1>
Expand Down

0 comments on commit fc83ff0

Please sign in to comment.