-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update main sample page with new CKEditor logo #1409
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the new color, however the changes should be applied in less file, and then it should be used to rebuild .css
file.
I had to correct path to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Frw minor things, and as for the image, couldn't we go with an svg with a fallback to png for old IEs? That would make the logo look nice on screens with higher pixel density than 200%.
samples/css/samples.css
Outdated
@@ -1,5 +1,5 @@ | |||
/** | |||
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this change, it's not a subject of this issue. It's done in other PR, and your change here will cause merging conflicts.
Remove it by editing your commit history, as if the change never happened.
samples/css/samples.css
Outdated
height: 60px; | ||
} | ||
/** | ||
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did these headers leaked here? 😕
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't touch manually .css
file, so all changes was made by grunt less
script.
samples/less/samples.less
Outdated
@@ -2,7 +2,7 @@ | |||
@components-dir: "../../node_modules/cksource-samples-framework/components"; | |||
|
|||
// Good 'ol Lesshat. | |||
@import "../../node_modules/cksource-samples-framework/node_modules/lesshat/build/lesshat"; | |||
@import "../../node_modules/lesshat/build/lesshat"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we were to use it that way we need to add lesshat
as a dev dependency to our project too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure that I get error multiple times because this file wasn't present. It seems that I had some repository problem after reinstallation it's there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It depends on npm resolution. Currently node will put deps of your deps in your node_modules
directory, but will that be the case in a year from here? We don't know.
Thus it needs to be added to deps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wrongly interpret the previous comment then ;)
SVG added with fallback for not supported browsers. Replace image to be exact size, as now we have svg for hidpi. Update styles to scale svg to proper size. |
CHANGES.md
Outdated
API Changes: | ||
|
||
* [#1346](https://github.com/ckeditor/ckeditor-dev/issues/1346): [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) [context manager API](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.plugins.balloontoolbar.contextManager) is now available in [pluginDefinition.init](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.pluginDefinition-method-init) method of a [requiring](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.pluginDefinition-property-requires) plugin. | ||
|
||
Other Changes: | ||
|
||
* [#1337](https://github.com/ckeditor/ckeditor-dev/issues/1337): Update `samples` layout with actuall CKEditor logo and coherent color scheme. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actuall -> actual
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#1409 (comment) was not adressed.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushed minor correction to change log entry.
Agh, I just found another small issue, toolbar configurator contains png-only logo, could you fix that?
I completely forget about toolbar configuration :( |
…re coherent with new logo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What is the purpose of this pull request?
task
Does your PR contain necessary tests?
All patches which change the editor code must include tests. You can always read more
on PR testing,
how to set the testing environment and
how to create tests
in the official CKEditor documentation.
This PR contains
What changes did you make?
close #1337