1 | <html lang='en' xml:lang='en'> |
---|
2 | <head> |
---|
3 | <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/> |
---|
4 | <script src="https://cdn.ckeditor.com/4.4.2/standard/ckeditor.js"></script> |
---|
5 | <script type='application/javascript'> |
---|
6 | CKEDITOR.disableAutoInline = true; |
---|
7 | window.onload = function () { |
---|
8 | var editor = CKEDITOR.inline("editor1", { |
---|
9 | floatSpaceDockedOffsetY: 999999, |
---|
10 | allowedContent: true |
---|
11 | }); |
---|
12 | }; |
---|
13 | </script> |
---|
14 | </head> |
---|
15 | <body> |
---|
16 | <div id='editor1' contenteditable="true" style="margin-top: 100px;border: 1px solid;"> |
---|
17 | <p>blah</p> |
---|
18 | <p>blah</p> |
---|
19 | </div> |
---|
20 | <div>other content</div> |
---|
21 | </body> |
---|
22 | </html> |
---|