Skip to content
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

T/135: Implement a creator with sticky toolbar #152

Merged
merged 19 commits into from
May 19, 2016
Merged

T/135: Implement a creator with sticky toolbar #152

merged 19 commits into from
May 19, 2016

Conversation

oleq
Copy link
Member

@oleq oleq commented May 9, 2016

Closes #135.

@oleq oleq added this to the 0.1.0 milestone May 9, 2016
@Reinmar
Copy link
Member

Reinmar commented May 10, 2016

I have this:

[11:34:55] Compiling 'ckeditor.css' from 2 entry points...
[11:34:55] Plumber found unhandled error:
 Error: no mixin named ck-editor

Backtrace:
    ../ckeditor5-ui-default/theme/components/stickytoolbar.scss:4

@oleq
Copy link
Member Author

oleq commented May 10, 2016

That's strange. WFM

t/135 dfe55c2) oleq@MBP ~/CK/ckeditor5> gulp build:clean:all
[11:58:05] Using gulpfile ~/CK/ckeditor5/gulpfile.js
[11:58:05] Starting 'build:clean:all'...
[11:58:05] Deleted file '/Users/oleq/CK/ckeditor5/build'.
[11:58:05] Finished 'build:clean:all' after 217 ms
(t/135 dfe55c2) oleq@MBP ~/CK/ckeditor5> gulp build:themes
[11:58:09] Using gulpfile ~/CK/ckeditor5/gulpfile.js
[11:58:09] Starting 'build:themes'...
[11:58:09] Starting 'build:clean:themes'...
[11:58:09] Finished 'build:clean:themes' after 7.82 ms
[11:58:09] Starting 'build:icons'...
[11:58:10] Output for amd is '/Users/oleq/CK/ckeditor5/build/amd/theme/iconmanagermodel.js'.
[11:58:10] Finished 'build:icons' after 840 ms
[11:58:10] Starting 'build:sass'...
[11:58:10] Found theme entry point '/Users/oleq/CK/ckeditor5-theme-lark/theme/theme.scss'.
[11:58:10] Found theme entry point '/Users/oleq/CK/ckeditor5-ui-default/theme/theme.scss'.
[11:58:10] Compiling 'ckeditor.css' from 2 entry points...
[11:58:10] Output for amd is '/Users/oleq/CK/ckeditor5/build/amd/theme/ckeditor.css'.
[11:58:10] Finished 'build:sass' after 64 ms
[11:58:10] Finished 'build:themes' after 917 ms
(t/135 dfe55c2) oleq@MBP ~/CK/ckeditor5>

Could it be that the order of

[11:58:10] Found theme entry point '/Users/oleq/CK/ckeditor5-theme-lark/theme/theme.scss'.
[11:58:10] Found theme entry point '/Users/oleq/CK/ckeditor5-ui-default/theme/theme.scss'.

matters? What is yours?

@Reinmar Reinmar removed this from the 0.1.0 milestone May 17, 2016
@Reinmar
Copy link
Member

Reinmar commented May 18, 2016

OK, I think that all branches are ready to merge them. Great job!

@Reinmar
Copy link
Member

Reinmar commented May 18, 2016

I was very close to merge this PR, but I found that few classes in ckeditor/ckeditor5-ui#24 misses docs.

this.template.attributes.class.push( 'ck-editor__editable-iframe' );
this.template.attributes.style = [
'width:',
bind.to( 'width', ( w ) => `${w}px` ),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is bad... We need to find a better solution, which would be an object format for styles. We can't rewrite all styles every time. I'll create a followup for this.

Copy link
Member

@Reinmar Reinmar May 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beside, it doesn't do anything with the editor – it only resizes the iframe while the container stays at 100%. But this will need to be addressed once we'll be working on real support for resizing.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Reinmar Reinmar merged commit e14e3f8 into master May 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants