When we install AbleCommerce for clients and they need to update their content, it's no surprise that 99% of the time they want to use the WYSIWYG editor. Unfortunately, the Edit Scriptlet screen displays a standard text box with the HTML. They then always have to click the icon for the HTML editor, save their changes, close the dialog, then save yet again back on the Edit Scriptlet screen.
This is cumbersome for clients obviously. Is there a way to eliminate all this by just replacing the text box on the Edit Scriptlet page with the HTML editor? It would be a huge improvement to the usability of the product.
Make the WYSIWYG editor the default instead of in a popup?
Re: Make the WYSIWYG editor the default instead of in a popup?
You will be required to customize the desired page. Try putting following line next to your page declaration on desired page
Then use following code instead of textbox
finally in code behind try setting its value instead of textbox.
Code: Select all
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
Code: Select all
<FCKeditorV2:FCKeditor id="Editor" runat="server" Height="580" />
Re: Make the WYSIWYG editor the default instead of in a popup?
Hello Mazhar,
I want to use FCKEditor as a default editor on the page "EditScriptlet.aspx" instead of textarea. I tried the modifications you suggested above but it only displays the FCKEditor ,it doesn't show any text in it nor does it save any text or html code. I am using AbleCommerce version 7.0.5.
Default code for the textarea:
Code for FCKEditor I used:
I want to use FCKEditor as a default editor on the page "EditScriptlet.aspx" instead of textarea. I tried the modifications you suggested above but it only displays the FCKEditor ,it doesn't show any text in it nor does it save any text or html code. I am using AbleCommerce version 7.0.5.
Default code for the textarea:
Code: Select all
<asp:TextBox ID="ScriptletData" runat="server" TextMode="MultiLine" Width="98%" Height="200px"></asp:TextBox>
Code: Select all
<FCKeditorV2:FCKeditor id="Editor" runat="server" Height="580" />
Re: Make the WYSIWYG editor the default instead of in a popup?
In AbleCommmerce 7.0.7 we implemented the support of inline editor. Edit Website\Admin\Website\ContentPages\AddContentPage.aspx file and locate following code line.
So you can try replacing standard text box with this new control. There are four available modes Default, Basic, Inline, Modal.
Code: Select all
<cb:HtmlEditor ID="WebpageContent" runat="server" Height="300px" Width="100%" Mode="Inline"></cb:HtmlEditor>
Re: Make the WYSIWYG editor the default instead of in a popup?
Hello Mazhar,
Thanks for your reply, so can't it be used inline with version 7.0.5?
Thanks for your reply, so can't it be used inline with version 7.0.5?