This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
Hi All
When I make changes to the "ckeditor-mojoconfig.js" file for "toolbar_CustomOne" or "toolbar_Custom2", no changes occur. For example, for "toolbar_Full" everything works as it should.
Code for ckeditor
ascx: <mpe:EditorControl id="comment" runat="server"></mpe:EditorControl>
ascx.cs:
SiteUtils.SetupEditor(comment); comment.WebEditor.ToolBar = Editor.ToolBar.Custom1;
Regards
Alex
I solved the problem. The problem was that you need to add a new configuration to the method "private void SetupToolBar(StringBuilder script)" in class "public class CKEditorControl"
For Example:
case ToolBar.Custom1: script.Append(",toolbar:'CustomOne'"); break;
By the way, for some reason, configurations Custom1 and Custom2 are initially absent from method "SetupToolBar", but are present in the ToolBar enumeration
Regards Alex
mojoPortal Hosting & Design @ i7MEDIA!
Hi Alex,
We've fixed this in the code and it will be in the next release. I'll push to the repo today. There were a couple of things we fixed with the CKeditor control.
Thank you, Elijah
That's cool! Thank you Elijah