Opened 9 years ago

Closed 9 years ago

#13646 closed Bug (wontfix)

Image2 doens't work with [img] BBCODE tags

Reported by: danielsilva89 Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

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

Change History (1)

comment:1 Changed 9 years ago by Piotrek Koszuliński

Keywords: bbcode image2 removed
Resolution: wontfix
Status: newclosed
Version: 4.5.2

BBCode is a limited plugin which supports only few features. Image2 is not supported by it and we do not plan to work on such a support.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy