Last active
October 20, 2017 11:14
-
-
Save datakurre/8b27346fcd4c4481a9db3b74e5b47d1b to your computer and use it in GitHub Desktop.
Tile with a single RichText field in Plone Mosaic with collective.themefragments
This file contains hidden or 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
<tal:block define="value nocall:view/data/html|nothing; | |
output_relative_to nocall:value/@@output_relative_to|nothing" | |
condition="output_relative_to" | |
content="structure python:output_relative_to(context)" /> |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<model xmlns="http://namespaces.plone.org/supermodel/schema" | |
xmlns:form="http://namespaces.plone.org/supermodel/form" | |
xmlns:marshal="http://namespaces.plone.org/supermodel/marshal" | |
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | |
i18n:domain="plone"> | |
<schema> | |
<field name="html" type="plone.app.textfield.RichText" marshal:primary="true" | |
form:widget="plone.app.z3cform.widget.RichTextFieldWidget"> | |
<title>Text</title> | |
</field> | |
</schema> | |
</model> |
This file contains hidden or 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
[versions] | |
plone.tiles = 2.0.0b3 | |
plone.jsonserializer = 0.9.5 | |
plone.app.blocks = 4.1.1 | |
# or newer... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment