Discussion:
[opencms-dev] Container Page Inline Editor Toolbar
Sharad Jain
2014-09-01 11:01:47 UTC
Permalink
Hi All,



I have created a container page and a template is applied to it. Now when I
open my container page in web browser, I can modify the content using
inline editor toolbar.



I just want to understand which JSP is used to create inline editor toolbar
and how can we add one more option in inline editor toolbar. How inline
editor toolbar gets constructed. My requirement is to add one preview
button there.





Can someone please help me ?



Thanks in advance.

Sharad
Hein van der Kallen
2014-09-07 18:11:54 UTC
Permalink
Sharad,
For changing the editor toolbar start from
http://www.opencms-wiki.org/wiki/HtmlWidget
You can configure your own toolbar.
See a sample on
http://consolelog.de/2013/10/10/opencms-buttons-im-text-editor-anpassen/
But it can only contain the buttons from
http://www.opencms.org/javadoc/core/constant-values.html#org.opencms.widgets.CmsHtmlWidgetOption
and there is no preview option there.
( inline editting + preview option button seems a bit strange requirement...
why not click outside the editted block?)

But if you are willing to change java-code
start with
www.opencms.org/javadoc/core/src-html/org/opencms/widgets/CmsHtmlWidgetOption.html

Hein van der Kallen

----- Original Message -----
From: "Sharad Jain" <sharadjainleo at gmail.com>
To: <opencms-dev at opencms.org>
Sent: Monday, September 01, 2014 1:01 PM
Subject: [opencms-dev] Container Page Inline Editor Toolbar
Post by Sharad Jain
Hi All,
I have created a container page and a template is applied to it. Now when I
open my container page in web browser, I can modify the content using
inline editor toolbar.
I just want to understand which JSP is used to create inline editor toolbar
and how can we add one more option in inline editor toolbar. How inline
editor toolbar gets constructed. My requirement is to add one preview
button there.
Can someone please help me ?
Thanks in advance.
Sharad
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
Loading...