change historical and scope notes to be rich text (#2984)
This commit is contained in:
parent
8db1c70c6c
commit
5fff25c340
|
@ -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,
|
||||
)
|
||||
|
|
Reference in New Issue