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

Allow to initialize inspector minimalized #44

Closed
mlewand opened this issue Apr 4, 2019 · 1 comment · Fixed by #46
Closed

Allow to initialize inspector minimalized #44

mlewand opened this issue Apr 4, 2019 · 1 comment · Fixed by #46
Assignees
Milestone

Comments

@mlewand
Copy link
Contributor

mlewand commented Apr 4, 2019

I want to include the inspector in shared codepen listing. It looks nice in pivot orientation:

image

However most of us use horizontal, 16:9 orientation and this is how it looks like:

image

It would be wonderful if I could initialize the inspector minimized.

@jodator
Copy link
Contributor

jodator commented Apr 4, 2019

At first I thought that this is controlled by local cache (cookies/local storage) as the inspector remembers previous stat (opened/closed). Unfortunately when opened in porno mode it is opened and it makes sometimes sense to have it closed.

@oleq oleq self-assigned this Apr 8, 2019
@Mgsy Mgsy added this to the iteration 27 milestone Sep 16, 2019
ma2ciek added a commit that referenced this issue Sep 20, 2019
Feature: Allowed attaching the inspector collapsed using a configuration passed to `CKEditorInspector#attach()`. Implemented the `CKEditorInspector#destroy()` method. Unified `CKEditorInspector#attach()` arguments syntax and allowed attaching to multiple instances at a time. Closes #44. Closes #42. Closes #48.

BREAKING CHANGE: The `CKEditorInspector.attach( 'editor-name', editor );` syntax was deprecated and replaced by an object literal `CKEditorInspector.attach( { 'editor-name': editor, ... } );`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants