-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(tinymce): changed to npm introduction,fix #435,fix 434
- Loading branch information
Showing
40 changed files
with
12,469 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/dist/* | ||
/public/* | ||
public/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/** | ||
* Copyright (c) Tiny Technologies, Inc. All rights reserved. | ||
* Licensed under the LGPL or a commercial license. | ||
* For LGPL see License.txt in the project root for license information. | ||
* For commercial licenses see https://www.tiny.cloud/ | ||
*/ | ||
body { | ||
margin: 1rem; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | ||
line-height: 1.4; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
} | ||
|
||
table th, | ||
table td { | ||
padding: 0.4rem; | ||
border: 1px solid #ccc; | ||
} | ||
|
||
figure { | ||
display: table; | ||
margin: 1rem auto; | ||
} | ||
|
||
figure figcaption { | ||
display: block; | ||
margin-top: 0.25rem; | ||
color: #999; | ||
text-align: center; | ||
} | ||
|
||
hr { | ||
border-color: #ccc; | ||
border-style: solid; | ||
border-width: 1px 0 0 0; | ||
} | ||
|
||
code { | ||
padding: 0.1rem 0.2rem; | ||
background-color: #e8e8e8; | ||
border-radius: 3px; | ||
} | ||
|
||
.mce-content-body:not([dir=rtl]) blockquote { | ||
padding-left: 1rem; | ||
margin-left: 1.5rem; | ||
border-left: 2px solid #ccc; | ||
} | ||
|
||
.mce-content-body[dir=rtl] blockquote { | ||
padding-right: 1rem; | ||
margin-right: 1.5rem; | ||
border-right: 2px solid #ccc; | ||
} |
23 changes: 23 additions & 0 deletions
23
public/resource/tinymce/skins/content/default/content.min.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Copyright (c) Tiny Technologies, Inc. All rights reserved. | ||
* Licensed under the LGPL or a commercial license. | ||
* For LGPL see License.txt in the project root for license information. | ||
* For commercial licenses see https://www.tiny.cloud/ | ||
*/ | ||
body{margin: 1rem;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height: 1.4;} | ||
|
||
table{border-collapse: collapse;} | ||
|
||
table td,table th{padding: .4rem;border: 1px solid #ccc;} | ||
|
||
figure{display: table;margin: 1rem auto;} | ||
|
||
figure figcaption{display: block;margin-top: .25rem;color: #999;text-align: center;} | ||
|
||
hr{border-color: #ccc;border-style: solid;border-width: 1px 0 0 0;} | ||
|
||
code{padding: .1rem .2rem;background-color: #e8e8e8;border-radius: 3px;} | ||
|
||
.mce-content-body:not([dir=rtl]) blockquote{padding-left: 1rem;margin-left: 1.5rem;border-left: 2px solid #ccc;} | ||
|
||
.mce-content-body[dir=rtl] blockquote{padding-right: 1rem;margin-right: 1.5rem;border-right: 2px solid #ccc;} |
60 changes: 60 additions & 0 deletions
60
public/resource/tinymce/skins/content/document/content.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/** | ||
* Copyright (c) Tiny Technologies, Inc. All rights reserved. | ||
* Licensed under the LGPL or a commercial license. | ||
* For LGPL see License.txt in the project root for license information. | ||
* For commercial licenses see https://www.tiny.cloud/ | ||
*/ | ||
@media screen { | ||
html { | ||
background: #f4f4f4; | ||
} | ||
} | ||
|
||
body { | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | ||
} | ||
@media screen { | ||
body { | ||
max-width: 820px; | ||
min-height: calc(100vh - 1rem); | ||
padding: 4rem 6rem 6rem 6rem; | ||
margin: 1rem auto 0; | ||
background-color: #fff; | ||
box-shadow: 0 0 4px rgba(0, 0, 0, 0.15); | ||
box-sizing: border-box; | ||
} | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
} | ||
|
||
table th, | ||
table td { | ||
padding: 0.4rem; | ||
border: 1px solid #ccc; | ||
} | ||
|
||
figure figcaption { | ||
margin-top: 0.25rem; | ||
color: #999; | ||
text-align: center; | ||
} | ||
|
||
hr { | ||
border-color: #ccc; | ||
border-style: solid; | ||
border-width: 1px 0 0 0; | ||
} | ||
|
||
.mce-content-body:not([dir=rtl]) blockquote { | ||
padding-left: 1rem; | ||
margin-left: 1.5rem; | ||
border-left: 2px solid #ccc; | ||
} | ||
|
||
.mce-content-body[dir=rtl] blockquote { | ||
padding-right: 1rem; | ||
margin-right: 1.5rem; | ||
border-right: 2px solid #ccc; | ||
} |
21 changes: 21 additions & 0 deletions
21
public/resource/tinymce/skins/content/document/content.min.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* Copyright (c) Tiny Technologies, Inc. All rights reserved. | ||
* Licensed under the LGPL or a commercial license. | ||
* For LGPL see License.txt in the project root for license information. | ||
* For commercial licenses see https://www.tiny.cloud/ | ||
*/ | ||
@media screen{html{background: #f4f4f4;}} | ||
|
||
body{font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;}@media screen{body{max-width: 820px;min-height: calc(100vh - 1rem);padding: 4rem 6rem 6rem 6rem;margin: 1rem auto 0;background-color: #fff;box-shadow: 0 0 4px rgba(0,0,0,.15);box-sizing: border-box;}} | ||
|
||
table{border-collapse: collapse;} | ||
|
||
table td,table th{padding: .4rem;border: 1px solid #ccc;} | ||
|
||
figure figcaption{margin-top: .25rem;color: #999;text-align: center;} | ||
|
||
hr{border-color: #ccc;border-style: solid;border-width: 1px 0 0 0;} | ||
|
||
.mce-content-body:not([dir=rtl]) blockquote{padding-left: 1rem;margin-left: 1.5rem;border-left: 2px solid #ccc;} | ||
|
||
.mce-content-body[dir=rtl] blockquote{padding-right: 1rem;margin-right: 1.5rem;border-right: 2px solid #ccc;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/** | ||
* Copyright (c) Tiny Technologies, Inc. All rights reserved. | ||
* Licensed under the LGPL or a commercial license. | ||
* For LGPL see License.txt in the project root for license information. | ||
* For commercial licenses see https://www.tiny.cloud/ | ||
*/ | ||
body { | ||
max-width: 900px; | ||
margin: 1rem auto; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | ||
line-height: 1.4; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
} | ||
|
||
table th, | ||
table td { | ||
padding: 0.4rem; | ||
border: 1px solid #ccc; | ||
} | ||
|
||
figure { | ||
display: table; | ||
margin: 1rem auto; | ||
} | ||
|
||
figure figcaption { | ||
display: block; | ||
margin-top: 0.25rem; | ||
color: #999; | ||
text-align: center; | ||
} | ||
|
||
hr { | ||
border-color: #ccc; | ||
border-style: solid; | ||
border-width: 1px 0 0 0; | ||
} | ||
|
||
code { | ||
padding: 0.1rem 0.2rem; | ||
background-color: #e8e8e8; | ||
border-radius: 3px; | ||
} | ||
|
||
.mce-content-body:not([dir=rtl]) blockquote { | ||
padding-left: 1rem; | ||
margin-left: 1.5rem; | ||
border-left: 2px solid #ccc; | ||
} | ||
|
||
.mce-content-body[dir=rtl] blockquote { | ||
padding-right: 1rem; | ||
margin-right: 1.5rem; | ||
border-right: 2px solid #ccc; | ||
} |
23 changes: 23 additions & 0 deletions
23
public/resource/tinymce/skins/content/writer/content.min.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Copyright (c) Tiny Technologies, Inc. All rights reserved. | ||
* Licensed under the LGPL or a commercial license. | ||
* For LGPL see License.txt in the project root for license information. | ||
* For commercial licenses see https://www.tiny.cloud/ | ||
*/ | ||
body{max-width: 900px;margin: 1rem auto;font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height: 1.4;} | ||
|
||
table{border-collapse: collapse;} | ||
|
||
table td,table th{padding: .4rem;border: 1px solid #ccc;} | ||
|
||
figure{display: table;margin: 1rem auto;} | ||
|
||
figure figcaption{display: block;margin-top: .25rem;color: #999;text-align: center;} | ||
|
||
hr{border-color: #ccc;border-style: solid;border-width: 1px 0 0 0;} | ||
|
||
code{padding: .1rem .2rem;background-color: #e8e8e8;border-radius: 3px;} | ||
|
||
.mce-content-body:not([dir=rtl]) blockquote{padding-left: 1rem;margin-left: 1.5rem;border-left: 2px solid #ccc;} | ||
|
||
.mce-content-body[dir=rtl] blockquote{padding-right: 1rem;margin-right: 1.5rem;border-right: 2px solid #ccc;} |
Oops, something went wrong.