Skip to content
#

Wagtail

wagtail logo

Wagtail is a free and open source content management system (CMS) written in Python. The project has a focus on developer friendliness as well as ease of use of its administration interface, translated in multiple languages.

Here are 320 public repositories matching this topic...

draftail
quirinpa
quirinpa commented Jan 18, 2021

Describe the bug

I'm trying to write a plugin to limit maximum content length in the draftail editor. I also want to be able to paste formatted content from outside the editor. Turns out my plugin's handlePastedText does not get called when setting prop stripPastedStyles to false. Unless I paste plain text.

Environment

Current version of draftail + draft.js 0.10.5

Steps to

vsalvino
vsalvino commented Apr 17, 2019

It is a common use-case to require a comma in a form choice, such as "Please specify your income: $1,000 - $2,000" etc. I think it would be preferable to use pipe separator since it is not an English grammatical character.

While we do have a very customized form page, we are still leaning on some underpinnings of wagtail.contrib.forms, so I think we will either need to provide our own choice fi

onno-timmerman
onno-timmerman commented Jan 19, 2022

We experience sometimes a loop when the following happen.

  1. start translating something by clicking edit.
  2. forget to click on save after you edited
  3. click on publish a popup will appear that you have unsaved things are you sure
  4. click no and then click on save
  5. you will notice the publish icon will spin for a while now
wagtail-grapple
sks444
sks444 commented Nov 9, 2021
from wagtail.core.fields import RichTextField

@register_snippet
class TestSnippet(models.Model):
    title = models.CharField(max_length=50)
    description = RichTextField(
        blank=True
    )

    panels = [
        FieldPanel('title'),
        FieldPanel('description'),
    ]

    graphql_fields = [
        GraphQLString('title', required=True),
        GraphQLS

Created by Torchbox

Released February 2014

Organization
wagtail
Website
wagtail.org
Wikipedia
Wikipedia

Related Topics

django python