Permalink
Browse files

create a TinyMCE template for Board meeting minutes

  • Loading branch information...
cdw9 committed Feb 7, 2019
1 parent 617e45f commit d1cd0c105aedd3289cdfa3f0602319d68e896b1b
@@ -4,6 +4,9 @@ Changelog
1.0.2 (unreleased)
------------------

- create a TinyMCE template for Board meeting minutes
[cdw9]

- temporarily remove releasesecurityinfo until we can deal with existing
content types by the same name on the live site
[tkimnguyen]
@@ -1,10 +1,15 @@
<configure
xmlns="http://namespaces.zope.org/browser"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:plone="http://namespaces.plone.org/plone"
i18n_domain="ploneorg.core">

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

<browser:resourceDirectory
name="templates"
directory="tinymce-templates" />

<browser:viewlet
name="links"
manager="plone.app.layout.viewlets.interfaces.IAboveContent"
@@ -0,0 +1,31 @@
<p>Meeting called to order at xx:xx UTC</p>
<h2>Housekeeping</h2>
<h3>Attendance</h3>
<p>Present: </p>
<p>Absent: </p>
<h3>Approval of the minutes of xx</h3>
<p>x moved to approve, x seconded</p>
<p>Unanimously Approved</p>
<h3>Action Items</h3>
<ul>
<li>x</li>
</ul>
<h3>Incoming Correspondence</h3>
<ul>
<li>x</li>
</ul>
<h2>New Business</h2>
<ul>
<li>x</li>
</ul>
<h2>Continued Business</h2>
<ul>
<li>x</li>
</ul>
<h2>Review Ongoing</h2>
<ul>
<li>x</li>
</ul>
<p>x moved to adjourn, x seconded</p>
<p>Unanimously approved</p>
<p>Meeting adjourned at xx:xx UTC</p>
@@ -0,0 +1,28 @@
<?xml version="1.0"?>
<registry>
<record name="plone.templates" interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema" field="templates">
<field type="plone.registry.field.Text">
<default>{}</default>
<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>
<required>False</required>
<title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="label_tinymce_templates">Templates</title>
</field>
<value>[
{"title": "Board Meeting Minutes", "url": "++resource++templates/board-minutes.html"}
]</value>
</record>

<record name="plone.custom_plugins" interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema" field="custom_plugins">
<field type="plone.registry.field.List">
<default/>
<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>
<missing_value/>
<required>False</required>
<title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">Custom plugins</title>
<value_type type="plone.registry.field.TextLine"/>
</field>
<value>
<element>template|+plone+static/components/tinymce-builded/js/tinymce/plugins/template</element>
</value>
</record>
</registry>

0 comments on commit d1cd0c1

Please sign in to comment.