thanks for the great 'Combo plugin'-Sample :-)
This Plugin scans on or more editorarea stylesheets
(local,file or import)and give you a combobox to
select and assign the styleclasses to the selected
content node
sorry my poor english
ps. please let me know if you find errors with
detailed error descriptions
this plugin is the port from my htmlarea plugin with
many bugfixes and extensions.
Logged In: YES
user_id=731288
Tested with:
Mozilla Firefox 1.5 on Linux
Internet Explorer 6.0.29 on Windows XP
known bugs:
it works only with one editor instance
Logged In: YES
user_id=1356422
Nice plugin, I did something similar but for sure it will be
interesting to check this one.
I noticed a little problem: if the plugin is loaded but the
toolbar doesn't have the "button" then the plugin fails in
this line:
dynamicCSSCombo._ItemsHolderEl.innerHTML='';
(I usually have a bunch of plugins around but depending on
the toolbar they are enabled or not)
version 0.2.1 with minor Bugfixes (thanks to alfonsoml)
bugfixes
Logged In: YES
user_id=1516620
cool plugin, i like it. I use IE and for me the editor gets
more than 100% width when I use your plugin. when I turn it
off the editor uses exactly 100% of width ... there must be
something wrong with the HTML ....
do you have some time to look through this or may I help
you?
Logged In: YES
user_id=1516620
another info for it: it seems that undo isnt supported.
Logged In: YES
user_id=731288
hi gabru,
i will work on undo support next week.
the problem with 100% width bug i would be happy when you
help me.
sorry my poor english.
Logged In: YES
user_id=1516620
i have solved the width problem:
i put just another DIV-element arround the editor with 100%
and then it worked for me.
thanks for undo in advance.
the following things would be nice:
- it would also be nice to have a live preview of the
styles in the combo.
- customizing the description of the combo. now it show CSS
but i want to change it via config. because i need it
multilanguage.
- styles like div.classname {} are ignored. so classname
for a specific element
would be cool to have all this stuff. i am working on an
opensource content manager and will use your plugin. hence
i will promote it on my site as well.
Logged In: YES
user_id=1516620
hi hhees, have you seen the new version of the FCKEditor.
its quite cool. unfortunately your plugin is not working
with it anymore. do you think you could fix this? let me
know if you need some help.
would appreciate any fixes....
Logged In: YES
user_id=731288
hi gabru,
i will modify the plugin when the final version of
fckeditor is out. but you fell free to send me bugfixes
before the final version.
Logged In: YES
user_id=1541130
i made all like is in readme.txt but the combo box do not
appear!! can you give me a clue to what happened
Logged In: YES
user_id=1541130
i made all like is in readme.txt but the combo box do not
appear!! can you give me a clue to what happened
Logged In: YES
user_id=1541130
it was my mistake!!! i discover the error!! great plugin!!!
thanks anyway
Logged In: YES
user_id=1541130
another problem: when i go to the source code in the editor,
and after that return to editor, the css combobox stops
working!!! can you tell me something about that!!!
Logged In: YES
user_id=1541130
it's me again!!! i seen this in ie6!! in mozilla works fine!!!
bugsfixes for fckeditor 2.3.1-cvs
Logged In: YES
user_id=1584361
Hi,
Nice plugin.
I made a litle mod to your plugin in order to add PREVIEW OF
STYLES IN COMBO BOX. Please read the following changes:
In the original fckplugin.js file go to line 54 and add the
following code:
var oTargetDoc = dynamicCSSCombo._Panel.Document ;
// Add the Editor Area CSS to the Styles panel so the
style classes are previewed correctly.
var aCSSs = FCKConfig.EditorAreaCSS ;
for ( var i = 0 ; i < aCSSs.length ; i++ )
FCKTools.AppendStyleSheet( oTargetDoc, aCSSs[i] ) ;
// For some reason Gecko is blocking inside the
"RefreshVisibleItems" function.
if ( ! FCKBrowserInfo.IsGecko )
oTargetDoc.OnBeforeClick = this.RefreshVisibleItems ;
That way you can preview the styles in the combo box. I got
this code from (i dont remember exactly) the original FCK
source code (probably from the FCK style combo box but i
cant remember now :) )
Logged In: YES
user_id=1584361
Sorry but you should change on more line for the preview of
the styles:
Go to line 101 of the original file and change it to:
dynamicCSSCombo.AddItem(dynamicCSSStyleNames[tag][cssClass],
'<span class=\"' + cssName + '\">' + cssName + '</span>');
bye
additional credits to Omonymos and extended preview
Logged In: YES
user_id=1641190
BUG:
You always have to click inside the editing area before the
pulldown menu can work.
If you click the pulldown menu straight away, you only get
an empty div.
Logged In: YES
user_id=1541130
Originator: NO
Can anybody tell me if how can i use this plugin in Fckeditor 2.3.2?
It works well, then when i insert an image or a table and when i delete that image, gives me a javascript error in ie6.
Error
FCKSelection.GetSelectedElement().parentElement its null or not an object
Logged In: YES
user_id=1831461
Originator: NO
Hello,
I am having an issue with DynamicCSS plugin 0.4 with fckeditor version 2.4.3
In IE 6 I get the Alert box error "Object doesn't support this property or method"
IN FireFoxError 2.0 the error seems to come from fckplugin.js line 268 "cssElement[0].toUpperCase().trim();" is not a function
The CSS drop down boxes doesn't load the style sheet and only "normal" shows in the box.
This is then stopping the page form from submiting correctly.
Can anybody help? ....please :)
Logged In: YES
user_id=1541130
Originator: NO
Hi i'm having the same problem like zimbadonn in the new version of Fckeditor, Do you already have a solution for this?
Thanks
Logged In: YES
user_id=2108443
Originator: NO
To run in new fckeditor version (test 2.5) replace "trim" to "Trim" in plugin code.
Logged In: YES
user_id=2108443
Originator: NO
To run in new fckeditor version (test 2.5) replace "trim" to "Trim" in plugin code.