Skip to content

Commit

Permalink
Add inline mode to tinymce config (see plone/Products.CMFPlone#3465)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer committed Apr 13, 2022
1 parent 083d1e6 commit a93dc62
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/plone/base/interfaces/controlpanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,16 @@ class ITinyMCELayoutSchema(Interface):
required=False,
)

inline = schema.Bool(
title=_("Run TinyMCE in inline mode."),
description=_("The inline editing mode is useful when creating user "
"experiences where you want the editing view of the page "
"to be merged with the reading view of the page."
),
default=False,
required=False,
)

# TODO: add validation to assert % and px in the value
editor_width = schema.TextLine(
title=_("Editor width"),
Expand Down

0 comments on commit a93dc62

Please sign in to comment.