Hi.
First off all, Great source...
i have an asp.net vb script where i have
Working fine, show the full toolbar, if i then add this to my page_load on code_behind then i get an script error, and i can only run the ex. in last knowed safe mode in Microsoft Visual Web Developer 2010 Express.
when i then del. the code from code_behind then it works again, i do not changes anything in the CKEditor Controle.
Can someone help me, so i can config my toolbar with less buttons !?
My code_behind is.
First off all, Great source...
i have an asp.net vb script where i have
<CKEditor:CKEditorControl ID="CKEditor1" runat="server" Language="da" EnterMode="BR"> </CKEditor:CKEditorControl>
Working fine, show the full toolbar, if i then add this to my page_load on code_behind then i get an script error, and i can only run the ex. in last knowed safe mode in Microsoft Visual Web Developer 2010 Express.
when i then del. the code from code_behind then it works again, i do not changes anything in the CKEditor Controle.
Can someone help me, so i can config my toolbar with less buttons !?
My code_behind is.
Imports System.IO Imports System.Data Imports System.Data.OleDb Partial Class _default Inherits System.Web.UI.Page Protected Sub Page_Load(sender As Object, e As EventArgs) CKEditor1.config.toolbar = New Object() {New Object() {"Bold", "Italic", "-", "NumberedList", "BulletedList", "-", _ "Link", "Unlink", "-", "About"}, New Object() {"Cut", "Copy", "Paste", "PasteText", "PasteFromWord", "-", _ "Print", "SpellChecker", "Scayt"}} End Sub End Class
Re: error when config toolbar asp.net vb
Refer to this guide on toolbar customization and apply the code to your config.js file in ckeditor root.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!