Sign up (with export icon)

Inline mode

Show the table of contents

Inline mode is the default working mode of CKBox. In this case, the CKBox instance will be created in the container passed s the first parameter of CKBox.mount() method.

CKBox.mount(document.querySelector('#ckbox'), {
 tokenUrl: 'https://your.token.url'
});
Copy code

Please note that in inline mode CKBox instance will occupy all the available space, so you might want to restrict with CSS the width and the height of the container used by CKBox.

Note

Need more functionality? Take a survey and help us develop CKBox to suit your needs better!

Was this page helpful?

Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our contact form.

© 2003 - 2025 CKSource. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /