﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13646	Image2 doens't work with [img] BBCODE tags	danielsilva89		"Hey guys, I'm not expert in js, and after 2 days I'm here.

I'm tryng to use image2 and BBCODE plugins.

Using the ckbuilder with the last updates with the 'native' image plugin the bbcode works fine. 

I can set the image with imagebrowser, and the see the right bbcode of img "" [img] url [ /img] ""

But when I try to use image2 ( resize options are cool ), the bbcode doens't work fine!!

Even with clean configurations the img tag doens't work!

I think the problem is the parser of bbcode, and i'm not so good with that!

Thanks

{{{
config.contentsLanguage = 'pt-br';
	config.autoGrow_minHeight = 500;
	config.disableObjectResizing = true;
	config.forcePasteAsPlainText = true;
	config.clipboard_defaultContentType = 'text';
	config.toolbarLocation = 'bottom';
	config.extraPlugins = 'bbcode,imagebrowser,dialog';
	config.removePlugins = 'image2,widget,lineutils,bidi,dialogadvtab,div,flash,format,forms,horizontalrule,iframe,justify,liststyle,pagebreak,showborders,stylescombo,table,tabletools,templates';
	config.resize_enabled = false;
	config.fontSize_sizes = '30/30%;50/50%;100/100%;120/120%;150/150%;200/200%;300/300%';
	config.imageBrowser_listUrl = ""http://localhost:8080/mysite/js/ckeditor/plugins/imagebrowser/teste.json"";
	config.toolbar = [
	           	   ['Bold', 'Italic', 'Underline'],['Subscript','Superscript'],['Image'],['TextColor'],['RemoveFormat'],['Undo', 'Redo'],['Source'], ['Maximize']
	           	];
}}}

== Steps to reproduce ==

1. Insert any url image with image2 plugin
2. the image will show and you'll be able to resize
3. Hit the ""source code"" button to see the BBCODE OUTPUT
4. img tag will desapear
5. the editor will show only ( [img] ) whitout the closeTag and the url.
6. If you hit the ""source code"" button again, the [img] tag will disappear. 

== Expected result == [img]any://url.com[/img]

== Actual result == [img]

== Other details (browser, OS, CKEditor version, installed plugins) == 
- CkEditor 4.5.2, mozilla 39, chrome(last)
'''Plugins'''
- Image2
- imageBrowser
- bbcode

"	Bug	closed	Normal		General		wontfix		
