Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <script src="//cdn.ckeditor.com/4.6.0/full/ckeditor.js"></script>
</head>
<body>
<div id="editor1" contenteditable="true">
    <h1>Inline Editing in Action!</h1>
    <p>The "div" element that contains this text is now editable.
</div>
</body>
</html>
 
CKEDITOR.inline('editor1', {
    toolbar: [
        { name: 'basicstyles', items : [ 'Bold', 'Italic', 'Underline' ] },
        { name: 'links', items: [ 'Link' ] },
        { name: 'paragraph', items: [ 'NumberedList', 'BulletedList', 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ] },
        { name: 'styles', items: [ 'Format', 'FontSize' ] },
        { name: 'colors', items: [ 'TextColor' ] },
        { name: 'insert', items: [ 'Image' ] }
    ],
    language: 'zh_TW',
    filebrowserUploadUrl: '/imgUpload',
    on: {
      change: () => {}
    }
});
/*
response:
  <script type='text/javascript'>
    window.parent.CKEDITOR.tools.callFunction([CKEditorFuncNum], '[imgURL]', '');
  </script>
*/
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
tpaipro
0viewers