how to enable popupeditor in HTMLArea?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
telenut
Posts: 68
Joined: Thu Sep 09, 2004 10:13 am

how to enable popupeditor in HTMLArea?

Post by telenut »

If I add the popupeditor into the toolbar of htmlArea, I get an empty screen...
Are there other things I have to change in the code? (header.php)
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

good question... how do you added it?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
telenut
Posts: 68
Joined: Thu Sep 09, 2004 10:13 am

Post by telenut »

In header.php you have to edit next line:
config.toolbar = [ [ "fontsize", "space", "formatblock", "space", "bold", "italic", "underline", "strikethrough", "separator", "subscript", "superscript", "separator", "copy", "cut", "paste", "space", "undo", "redo" ], [ "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator", "lefttoright", "righttoleft", "separator", "orderedlist", "unorderedlist", "outdent", "indent", "separator", "forecolor", "hilitecolor", "separator", "inserthorizontalrule", "createlink", "insertimage", "inserttable","popupeditor","htmlmode"], [ "internalLinks" ] ];

And you have to add the plugin 'fullpage' to the htmlArea editor.
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I don't know why this won't work. Maybe you ask at the HTMLArea forums...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply