﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10905	fakeElement - isResizable limitations	vosmanz		"Hi,

I am making a custom plugin, and want to use a fake element. However, I have two problems with the resizable option. I want to use the fake element for an item that can only have a variable width. I see that's not possible, but that's not really a problem because I thought I can bypass that by setting isResizable to false and set the dimensions using scripting from the dialog.

The problems I face are:
1. When I set isResizable to false, the fake element ignores the real elements dimensions. As each element can have a different height, I can't set the dimensions using CSS. When I set isResizable to true, the dimensions work fine.
2. When I set isResizable to false, the object is still resizable in latest stable version of IE10 and Firefox. In Chrome it is not resizable.

To make the element, I use both these methods:

{{{
// to add the element
var newFakeImage = editor.createFakeElement( element, 'cke_customPlugin', 'customPlugin', false );

// in the dataFilter:
return editor.createFakeParserElement( element, 'cke_customPlugin', 'customPlugin', false );
}}}"	Bug	closed	Normal		General		duplicate		
