-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor maintenance release containing some bug fixes and minor feature improvements. Summary - Significant cleanup of the CKEditor plugin used for the `HtmlViewComponent` (acecc86) - Fixes a major bug which prevented topics with an empty `TopicListViewComponent` from being saved (d12e3d4) - Addresses a confusing user interface decision where a removed attribute value would continue to be displayed as placeholder text (752f9da) CKEditor - Removed extraneous toolbars (110a9ac, 619360e), and tidied up the formatting and layout of the default toolbar (6fdf1a3, 37d06d3, 168b6ce) - Removed features that shouldn't be used in most cases, such as underline (2e60363), custom fonts (6056f01), and duplicate buttons (33f88a0) - Removed all customer-oriented customizations and styles (74712c0); these can now be overwritten on a per client basis - Removed out-of-the-box Spell Check As You Type (SCAYT), in favor of browser default spell check (a4790fe, 3bb9de4) - Removed commented out items that weren't being actively used (f997f5e, 8ad4bb3) - Cleaned up formatting of files and introduced modern commenting and indentation standards (99c9eb9, 9ee289e, 452fd19) - Fixed some issues with the default stylesheet (3175936, 2c02393, b3966c5) Bug Fixes - Fixed but where removing an empty `TopicListViewComponent` from the interface would break ASP.NET Core data binding (af5e765) - Updated `InheritedAttributes` to use values from the `DerivedTopic` so that when a value is deleted, it doesn't reappear as a placheolder (15ea21f) - Updated the `::placeholder` pseudoclass so it's clearer what is an explicitly defined value and what is an inherited value (c56c188)
- Loading branch information
Showing
11 changed files
with
127 additions
and
192 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
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
117 changes: 59 additions & 58 deletions
117
OnTopic.Editor.AspNetCore/Shared/Scripts/CkEditor/CustomConfig.js
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
93 changes: 0 additions & 93 deletions
93
OnTopic.Editor.AspNetCore/Shared/Scripts/CkEditor/StylesSet.js
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,33 +1,50 @@ | ||
@import url('https://fonts.googleapis.com/css?family=Lato:300,400'); | ||
//============================================================================================== | ||
// CKEDITOR | ||
//---------------------------------------------------------------------------------------------- | ||
// Custom stylesheet to be used within the CKEditor. As this implementation should be | ||
// implementation agnostic, this defines a very basic set of style preferences. In practice, we | ||
// expect most implementions will want to establish a custom configuration, style set, and style | ||
// sheet for CKEditor, thus overriding this implementation. | ||
//============================================================================================== | ||
|
||
//---------------------------------------------------------------------------------------------- | ||
// FONTS | ||
//---------------------------------------------------------------------------------------------- | ||
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap'); | ||
|
||
//---------------------------------------------------------------------------------------------- | ||
// BODY | ||
//---------------------------------------------------------------------------------------------- | ||
body { | ||
background-color: #FFF; | ||
font-family: "Lato", Helvetica, Arial, sans-serif; | ||
font-size: 16px; | ||
color: #333; | ||
} | ||
background-color : #FFF; | ||
font-family : "Lato", Helvetica, Arial, sans-serif; | ||
font-size : 16px; | ||
color : #333; | ||
} | ||
|
||
//---------------------------------------------------------------------------------------------- | ||
// HEADINGS | ||
//---------------------------------------------------------------------------------------------- | ||
h1, | ||
h2, | ||
h3 { | ||
font-family: "Lato Light", Helvetica, Arial, sans-serif; | ||
font-weight : 300; | ||
} | ||
h1 { | ||
font-size: 32px; | ||
font-size : 32px; | ||
} | ||
h2 { | ||
font-size: 28px; | ||
font-size : 28px; | ||
} | ||
h3 { | ||
font-size: 24px; | ||
font-size : 24px; | ||
} | ||
h4 { | ||
font-size: 18px; | ||
font-size : 18px; | ||
} | ||
h5 { | ||
font-size: 16px; | ||
font-size : 16px; | ||
} | ||
h6 { | ||
font-size: 14px; | ||
} | ||
.Heading { | ||
font-family: "Lato", Helvetica, Arial, sans-serif; | ||
font-size : 14px; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.