You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from plone.app.dexterity.textindexer import searchable
from plone.app.textfield import RichText as RichTextField
from plone.app.z3cform.widget import RichTextFieldWidget
from plone.autoform import directives as form
from plone.supermodel import model
from my.something import _
class ISomething(model.Schema):
urls_published = RichTextField(
title=_("label_urls_published", default="URLs published"),
required=False,
)
form.widget("urls_published", RichTextFieldWidget)
searchable("urls_published")
I get this in the edit/add forms:
What I expect
I would expect the form to automatically show the markdown mode. That is, no TinyMCE text editor.
Software versions
Plone 6.0.11.1
The text was updated successfully, but these errors were encountered:
What I did
With this setting, where the default type is set to
x-web-markdown
:Resp:
And form fields defined like so:
I get this in the edit/add forms:
What I expect
I would expect the form to automatically show the markdown mode. That is, no TinyMCE text editor.
Software versions
Plone 6.0.11.1
The text was updated successfully, but these errors were encountered: