-
-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XWIKI-22099: Add a Tips panel to advertise the CKEditor shortcuts (#3149
) * Added the TipPanel (kept a structure similar to previous panels) * Added a translation to populate this panel.
- Loading branch information
Showing
2 changed files
with
184 additions
and
0 deletions.
There are no files selected for viewing
183 changes: 183 additions & 0 deletions
183
...atform-help/xwiki-platform-help-ui/src/main/resources/Help/TipsPanel/WYSIWYGEditorTip.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
<?xml version="1.1" encoding="UTF-8"?> | ||
|
||
<!-- | ||
* See the NOTICE file distributed with this work for additional | ||
* information regarding copyright ownership. | ||
* | ||
* This is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU Lesser General Public License as | ||
* published by the Free Software Foundation; either version 2.1 of | ||
* the License, or (at your option) any later version. | ||
* | ||
* This software is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this software; if not, write to the Free | ||
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||
--> | ||
|
||
<xwikidoc version="1.5" reference="Help.TipsPanel.WYSIWYGEditorTip" locale=""> | ||
<web>Help.TipsPanel</web> | ||
<name>WYSIWYGEditorTip</name> | ||
<language/> | ||
<defaultLanguage/> | ||
<translation>0</translation> | ||
<creator>xwiki:XWiki.Admin</creator> | ||
<parent>Help.TipsPanel.WebHome</parent> | ||
<author>xwiki:XWiki.Admin</author> | ||
<contentAuthor>xwiki:XWiki.Admin</contentAuthor> | ||
<version>1.1</version> | ||
<title>WYSIWYG Editor Tip</title> | ||
<comment/> | ||
<minorEdit>false</minorEdit> | ||
<syntaxId>xwiki/2.1</syntaxId> | ||
<hidden>true</hidden> | ||
<content/> | ||
<object> | ||
<name>Help.TipsPanel.WYSIWYGEditorTip</name> | ||
<number>0</number> | ||
<className>XWiki.UIExtensionClass</className> | ||
<guid>66b730a1-4234-4f27-804a-2a4c26b8388a</guid> | ||
<class> | ||
<name>XWiki.UIExtensionClass</name> | ||
<customClass/> | ||
<customMapping/> | ||
<defaultViewSheet/> | ||
<defaultEditSheet/> | ||
<defaultWeb/> | ||
<nameField/> | ||
<validationScript/> | ||
<async_cached> | ||
<defaultValue>0</defaultValue> | ||
<disabled>0</disabled> | ||
<displayFormType>select</displayFormType> | ||
<displayType/> | ||
<name>async_cached</name> | ||
<number>3</number> | ||
<prettyName>Cached</prettyName> | ||
<unmodifiable>0</unmodifiable> | ||
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType> | ||
</async_cached> | ||
<async_context> | ||
<cache>0</cache> | ||
<disabled>0</disabled> | ||
<displayType>select</displayType> | ||
<freeText>forbidden</freeText> | ||
<largeStorage>0</largeStorage> | ||
<multiSelect>1</multiSelect> | ||
<name>async_context</name> | ||
<number>4</number> | ||
<prettyName>Context elements</prettyName> | ||
<relationalStorage>0</relationalStorage> | ||
<separator>, </separator> | ||
<separators>|, </separators> | ||
<size>5</size> | ||
<unmodifiable>0</unmodifiable> | ||
<values>action=Action|doc.reference=Document|icon.theme=Icon theme|locale=Language|rendering.defaultsyntax=Default syntax|rendering.restricted=Restricted|rendering.targetsyntax=Target syntax|request.base=Request base URL|request.cookies|request.headers|request.parameters=Request parameters|request.remoteAddr|request.url=Request URL|request.wiki=Request wiki|user=User|wiki=Wiki</values> | ||
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType> | ||
</async_context> | ||
<async_enabled> | ||
<defaultValue>0</defaultValue> | ||
<disabled>0</disabled> | ||
<displayFormType>select</displayFormType> | ||
<displayType/> | ||
<name>async_enabled</name> | ||
<number>2</number> | ||
<prettyName>Asynchronous rendering</prettyName> | ||
<unmodifiable>0</unmodifiable> | ||
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType> | ||
</async_enabled> | ||
<content> | ||
<disabled>0</disabled> | ||
<editor>Text</editor> | ||
<name>content</name> | ||
<number>1</number> | ||
<prettyName>Executed Content</prettyName> | ||
<restricted>0</restricted> | ||
<rows>25</rows> | ||
<size>120</size> | ||
<unmodifiable>0</unmodifiable> | ||
<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType> | ||
</content> | ||
<extensionPointId> | ||
<disabled>0</disabled> | ||
<name>extensionPointId</name> | ||
<number>5</number> | ||
<prettyName>Extension Point ID</prettyName> | ||
<size>30</size> | ||
<unmodifiable>0</unmodifiable> | ||
<classType>com.xpn.xwiki.objects.classes.StringClass</classType> | ||
</extensionPointId> | ||
<name> | ||
<disabled>0</disabled> | ||
<name>name</name> | ||
<number>6</number> | ||
<prettyName>Extension ID</prettyName> | ||
<size>30</size> | ||
<unmodifiable>0</unmodifiable> | ||
<classType>com.xpn.xwiki.objects.classes.StringClass</classType> | ||
</name> | ||
<parameters> | ||
<contenttype>PureText</contenttype> | ||
<disabled>0</disabled> | ||
<editor>PureText</editor> | ||
<name>parameters</name> | ||
<number>7</number> | ||
<prettyName>Extension Parameters</prettyName> | ||
<restricted>0</restricted> | ||
<rows>10</rows> | ||
<size>40</size> | ||
<unmodifiable>0</unmodifiable> | ||
<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType> | ||
</parameters> | ||
<scope> | ||
<cache>0</cache> | ||
<disabled>0</disabled> | ||
<displayType>select</displayType> | ||
<freeText>forbidden</freeText> | ||
<largeStorage>0</largeStorage> | ||
<multiSelect>0</multiSelect> | ||
<name>scope</name> | ||
<number>8</number> | ||
<prettyName>Extension Scope</prettyName> | ||
<relationalStorage>0</relationalStorage> | ||
<separator> </separator> | ||
<separators>|, </separators> | ||
<size>1</size> | ||
<unmodifiable>0</unmodifiable> | ||
<values>wiki=Current Wiki|user=Current User|global=Global</values> | ||
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType> | ||
</scope> | ||
</class> | ||
<property> | ||
<async_cached>0</async_cached> | ||
</property> | ||
<property> | ||
<async_context/> | ||
</property> | ||
<property> | ||
<async_enabled>0</async_enabled> | ||
</property> | ||
<property> | ||
<content>{{velocity}} | ||
$services.localization.render('help.tipsPanel.WYSIWYGEditorTip', ['##', '##']) | ||
{{/velocity}}</content> | ||
</property> | ||
<property> | ||
<extensionPointId>org.xwiki.platform.help.tipsPanel</extensionPointId> | ||
</property> | ||
<property> | ||
<name>WYSIWYGEditorTip</name> | ||
</property> | ||
<property> | ||
<parameters/> | ||
</property> | ||
<property> | ||
<scope>wiki</scope> | ||
</property> | ||
</object> | ||
</xwikidoc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters