HtmlArea enlarge button

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
buddha
Posts: 13
Joined: Sun 12. Sep 2004, 14:28
Contact:

HtmlArea enlarge button

Post by buddha »

I really need to be able to maximize the editor, have read several post but no luck. I dont have that button in the editor. Anyone help !

best regards / B
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Re: HtmlArea enlarge button

Post by frold »

buddha wrote:I really need to be able to maximize the editor, have read several post but no luck. I dont have that button in the editor. Anyone help !

best regards / B
I guess you need to ask htmlareas homepages....

eg. you need to go into the \include\inc_lib\htmlarea.editor.inc.php

change:

Code: Select all

//HTMLArea.loadPlugin("FullPage");
to:

Code: Select all

HTMLArea.loadPlugin("FullPage");
change:

Code: Select all

//editor.registerPlugin(FullPage);
to:

Code: Select all

editor.registerPlugin(FullPage);
But if you need to do more then that I dont know!

Maybe you also need to change this code to insert the "enlarge"/"fullpage" plugin:

Code: Select all

	// [	"fontname", "space", "fontsize", "space", "formatblock", "space" ],
	config.toolbar = [
		[	"bold", "italic", "underline", "separator", "strikethrough", "subscript", "superscript", "separator", 
			"copy", "cut", "paste", "space", "undo", "redo", "separator", "htmlmode", "separator",  "about" ],
		[	"lefttoright", "righttoleft", "separator", "justifyleft", "justifycenter", "justifyright", "justifyfull", "separator",
			"orderedlist", "unorderedlist", "outdent", "indent", "separator",
			"forecolor", "hilitecolor", "textindicator", "separator", "inserthorizontalrule", 
			"createlink", "insertimage", "inserttable" ]
	];
http://www.studmed.dk Portal for doctors and medical students in Denmark
Post Reply