Skip to content

Commit d1cd0c1

Browse files
committed
create a TinyMCE template for Board meeting minutes
1 parent 617e45f commit d1cd0c1

4 files changed

Lines changed: 67 additions & 0 deletions

File tree

CHANGES.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Changelog
44
1.0.2 (unreleased)
55
------------------
66

7+
- create a TinyMCE template for Board meeting minutes
8+
[cdw9]
9+
710
- temporarily remove releasesecurityinfo until we can deal with existing
811
content types by the same name on the live site
912
[tkimnguyen]

ploneorg/core/browser/configure.zcml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
<configure
22
xmlns="http://namespaces.zope.org/browser"
33
xmlns:browser="http://namespaces.zope.org/browser"
4+
xmlns:plone="http://namespaces.plone.org/plone"
45
i18n_domain="ploneorg.core">
56

67
<include package="Products.CMFCore" file="permissions.zcml" />
78

9+
<browser:resourceDirectory
10+
name="templates"
11+
directory="tinymce-templates" />
12+
813
<browser:viewlet
914
name="links"
1015
manager="plone.app.layout.viewlets.interfaces.IAboveContent"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<p>Meeting called to order at xx:xx UTC</p>
2+
<h2>Housekeeping</h2>
3+
<h3>Attendance</h3>
4+
<p>Present: </p>
5+
<p>Absent: </p>
6+
<h3>Approval of the minutes of xx</h3>
7+
<p>x moved to approve, x seconded</p>
8+
<p>Unanimously Approved</p>
9+
<h3>Action Items</h3>
10+
<ul>
11+
<li>x</li>
12+
</ul>
13+
<h3>Incoming Correspondence</h3>
14+
<ul>
15+
<li>x</li>
16+
</ul>
17+
<h2>New Business</h2>
18+
<ul>
19+
<li>x</li>
20+
</ul>
21+
<h2>Continued Business</h2>
22+
<ul>
23+
<li>x</li>
24+
</ul>
25+
<h2>Review Ongoing</h2>
26+
<ul>
27+
<li>x</li>
28+
</ul>
29+
<p>x moved to adjourn, x seconded</p>
30+
<p>Unanimously approved</p>
31+
<p>Meeting adjourned at xx:xx UTC</p>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0"?>
2+
<registry>
3+
<record name="plone.templates" interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema" field="templates">
4+
<field type="plone.registry.field.Text">
5+
<default>{}</default>
6+
<description xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="help_tinymce_templates">Enter the list of templates in json format http://www.tinymce.com/wiki.php/Plugin:template</description>
7+
<required>False</required>
8+
<title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="label_tinymce_templates">Templates</title>
9+
</field>
10+
<value>[
11+
{"title": "Board Meeting Minutes", "url": "++resource++templates/board-minutes.html"}
12+
]</value>
13+
</record>
14+
15+
<record name="plone.custom_plugins" interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema" field="custom_plugins">
16+
<field type="plone.registry.field.List">
17+
<default/>
18+
<description xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">Enter a list of custom plugins which will be loaded in the editor. Format is pluginname|location, one per line.</description>
19+
<missing_value/>
20+
<required>False</required>
21+
<title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">Custom plugins</title>
22+
<value_type type="plone.registry.field.TextLine"/>
23+
</field>
24+
<value>
25+
<element>template|+plone+static/components/tinymce-builded/js/tinymce/plugins/template</element>
26+
</value>
27+
</record>
28+
</registry>

0 commit comments

Comments
 (0)