Hello, our existing VWG app makes use of the CKEditor control. It is hosted on an aspx page (CKEditor.aspx) and relies on several session variables for setting toolbars, etc.
Various forms and usercontrols throughout our application contain WebBrowser controls that display the CKEditor.aspx page, allowing users to interact with the CKEditor.
Those usercontrols each set session variables to be used by the CKEditor.aspx. For example:
string ckEditorFontSizes = “4.0pt; 5.0pt; 6.0pt;”;
Application.Session[“CkEditorFontSizeSizes”] = ckEditorFontSizes;
Then, on the CKEditor.aspx page load:
CKEditorControl1.FontSizeSizes= (string)Session[“CkEditorFontSizeSizes”];
The problem is that Session[“CkEditorFullToolbar”] returns NULL on CKEditor.aspx page load.
Is there a way to share session data from WiseJ controls to ASPX pages? Or, do you have another suggested way to use the CKEditor control?
Thanks,
Andrew
Hi Andrew,
thanks for your feedback. Based on your questions we researched some more and found a way to add external plugins
to our CKEditor extension. It has been updated, so please download it again from our extension section.
Now you can add as many plugins as you like.
We tested with a youtube plugin that can be downloaded here: http://ckeditor.com/addon/youtube
Put it into your project under /ckeditor/plugins
Then you can set it up in the External plugins collection property as following:
Then you can add it to the Options property like this:
This way you already see the changed layout of CKEditor in the designer !
If you want to change it at runtime, please keep in mind to call ckEditor1.Update()
Hope that helps.
If you encounter any problems in integrating your custom plugins, please forward them to us and we´ll take a look.
Best regards
Frank
Hi Andrew,
we have released our CKEditor extension now.
It´s available here: https://wisej.com/extensions/
Best regards
Frank
Hi Andrew,
thanks for your question about the CKEditor. We are planning to add an extension for it (as well as for TinyMCE).
That way it will work a lot better and be more flexible than embedding an ASP.NET page.
We will keep you updated about our progress on this.
Best regards
Frank
Please login first to submit.