From 5fff25c340e922ec253a926068b2615125297ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 22 Aug 2013 14:08:39 +0200 Subject: [PATCH] change historical and scope notes to be rich text (#2984) --- src/collective/dms/thesaurus/dmskeyword.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/collective/dms/thesaurus/dmskeyword.py b/src/collective/dms/thesaurus/dmskeyword.py index 5c9eb03..2e490f2 100644 --- a/src/collective/dms/thesaurus/dmskeyword.py +++ b/src/collective/dms/thesaurus/dmskeyword.py @@ -7,6 +7,8 @@ from zope import schema from plone.dexterity.schema import DexteritySchemaPolicy from plone.dexterity.content import Item +from plone.app.textfield import RichText + from plone.supermodel import model from . import _ @@ -43,13 +45,13 @@ class IDmsKeyword(model.Schema): ) # HN: historical note - historical_note = schema.Text( + historical_note = RichText( title=_(u"HN (Historical Note)"), required=False, ) # SN: scope note - scope_note = schema.Text( + scope_note = RichText( title=_(u"SN (Scope Note)"), required=False, )