Forum  Community Devel...  Using the FCKEd...  FCKeditior, How to change the style
Previous Previous
 
Next Next
New Post 1/22/2010 10:50 AM
  PeterRietmann
36 posts
No Ranking


FCKeditior, How to change the style 
Modified By PeterRietmann  on 1/22/2010 1:51:12 PM)

Hi I have a FCKEditor on a control and it appears with all the bells and whistles. I want to change it so that it displays just a few simple toolbar buttons. In my code I call the following code immediatly after the IntializeComponent(); call

As I understand this should change the appearance. Problem is I still have all the buttons. Anyone have any ideas ?

cheers.

 

fckEditor1.ToolbarSet = "Basic";

 
New Post 1/23/2010 9:13 AM
  palli
11194 posts
1st Level Poster




Re: FCKeditior, How to change the style 

Hi,

The FckEditor control exposes the ToolbarSet property, settable in the designer which should do what you describe. I opened a new issue on the subject which you can track here.

Thank you for reporting this,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 5/6/2010 4:09 AM
  GarryLowther
48 posts
www.trisys.co.uk
No Ranking


Re: FCKeditior, How to change the style 
Modified By GarryLowther  on 5/6/2010 6:13:48 AM)

Bug still exists in 6.3.15

However to workaround this bug, edit the fckconfig.js file and remove the toolbar buttons defined by this:

FCKConfig.ToolbarSets["Default"] = [
 ['Source','DocProps','-','NewPage','Preview','-','Templates'],
 ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
 ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
 ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
 '/',
 ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
 ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
 ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
 ['Link','Unlink','Anchor'],
 ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
 '/',
 ['Style','FontFormat','FontName','FontSize'],
 ['TextColor','BGColor'],
 ['FitWindow','ShowBlocks','-','About']  // No comma for the last row.
] ;

FCKConfig.ToolbarSets["Basic"] = [
 ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About']
] ;

In this example, I removed the 'Save' button which is what I assumed Gizmox did for this forum?

G.

 

 
New Post 5/7/2010 6:08 PM
  palli
11194 posts
1st Level Poster




Re: FCKeditior, How to change the style 

Hi Garry,

Thanks a lot for sharing the workaround. I added your text as a workaround suggestion for the issue referenced, which is still unresolved and hence the bug still exists.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Community Devel...  Using the FCKEd...  FCKeditior, How to change the style
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS