﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16934	CK Editor Inline strips	geomircean		"== Context ==
I'm using CK Editor Inline for my application. What I am doing is toggling between a textarea with html content and CK Editor Inline. The html content is used as content for CK Editor Inline. What happens is that when I add content with <html>, <head>, <body> tags, these tags are stripped.

My CK Editor Inline configuration looks like this:
[[BR]]
export default {
  fullPage: true,
  uiColor: '#ffffff',
  htmlEncodeOutput: true,
  extraPlugins: 'confighelper,sourcedialog,dialog,symbol',
  allowedContent: true,
  extraAllowedContent: 'html;body;style;head;title;*[*];*{*};*(*)',
  EnterMode: 'br',
  ShiftEnterMode: 'br',
  autoParagraph: false,
  placeholder: 'Start writing your content here or upload a file.',
  height: '100%',
  toolbar: [
    { name: 'clipboard', groups: [ 'clipboard', 'undo' ], items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ] },
    { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ], items: [ 'Find', 'Replace', 'SelectAll' ] },
    { name: 'document', groups: [ 'mode', 'document', 'doctools' ], items: [ 'Source' ] },
    '/',
    { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ], items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', 'RemoveFormat' ] },
    { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ], items: [ 'NumberedList', 'BulletedList', 'Outdent', 'Indent', 'Blockquote', 'CreateDiv', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] },
    { name: 'links', items: [ 'Link', 'Unlink', 'Anchor' ] },
    { name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'Symbol', 'Sourcedialog' ] },
    '/',
    { name: 'styles', items: [ 'Styles', 'Format', 'Font', 'FontSize', 'TextColor', 'BGColor', 'ShowBlocks' ] }
  ],
  filebrowserBrowseUrl: '/ckfinder',
  filebrowserImageBrowseUrl: '/ckfinder?type=Images',
};
[[BR]]

== Steps to reproduce ==
1. Insert a full page html content
2. Compare the html in the editor with the pasted  

== Expected result ==
Keep all the content I'm setting up for the editor

== Actual result ==
The following html tags are stripped:
- html
- head 
- body

https://drive.google.com/open?id=0B05gVDjnrv29M0ZITnFtX2E0Mm8
https://drive.google.com/open?id=0B05gVDjnrv29dU1xYkRmQ3A1OVk

== Other details (browser, OS, CKEditor version, installed plugins) ==
Chrome, Windows 10, CK Editor v4.6, plugins confighelper, sourcedialog, dialog, symbol"	Bug	closed	Normal		General		invalid		
