﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14658	BBCode adds extra nodes when toggling modes in default sample.	Alan Howshall		"== Steps to reproduce ==

1. Download CKBuilder package of http://ckeditor.com/builder/fae662a2edb8dd0f7c22be87af377e04 
2. Extract and load /samples/index.html into Firefox or other browser
3. Toggle into and out of 'View source'

== Expected result ==
Default pre-filled content source code should be rendered in BBCode [ ] style tags and remain unchanged when toggling into and out of View source

== Actual result ==
On intial toggle into View source you can see that source code has NOT been converted to BBCode as should. 
Toggling back into RTE view then causes unwanted HTML tag code to be progressively added to RTE and source code content on repeated View Source toggling

== Other details (browser, OS, CKEditor version, installed plugins) ==
CKEditor version 4.5.9. Tested in Firefox 46 and Chrome 50 on Windows 8.1

Please note that unlike previously raised http://dev.ckeditor.com/ticket/14647 I have now been able to confirm this bug in CKBuilder with minimal number and only CK Source created plugins

I believe this problem is related to the plugin ordering that CKBuilder is doing, rather than any it not being possible to have these plugins work together. As if you look at http://ckeditor.com/builder/fc05d38e49b04113eab3dd0ec9b18487 that is a download package with the exact same elements showing selected on CKBuilder UI web page, but that 2nd version does work correctly (however when I add all my desire plugins via CKBuilder I then can't get CKBuilder to produce a valid build for me)

== Edit ==
This issue is about fixing BBcode plugin so that it works in certain situation. When building CKEditor with BBCode plugin and displaying default sample, extra nodes are added while switching between source/wysiwyg. The plugin should be adjusted to handle that as content is basic sample is very basic.
"	Bug	reopened	Normal		General				
