1
Fork 0

Update demo gif (#10)

Add new dmeo gif and update readme.
This commit is contained in:
Parbhat Puri 2020-04-18 01:42:32 +05:30 committed by GitHub
parent adcbf8bd2e
commit 3fb799b51e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# wagtail-draftail-snippet
Wagtail has support for adding numerous types of links to `RichTextBlock` content, but there is not a way to tie a link to an arbitrary `snippet` model currently. `wagtail-draftail-snippet` provides a way to create either an `a href` element for a specific `snippet` model based on a template that can be provided, or a completely free-form piece of HTML for a snippet.
Wagtail has support for adding numerous types of links to `RichText` content, but there is not a way to tie a link to an arbitrary `snippet` model currently. `wagtail-draftail-snippet` provides a way to create either an `a href` element for a specific `snippet` model based on a template that can be provided, or a completely free-form piece of HTML for a snippet.
The project provides the following draftail (Wagtail Richtext editor) features:
@ -9,7 +9,7 @@ The project provides the following draftail (Wagtail Richtext editor) features:
Unsure whether you want to use a snippet link or embed? Embeds have complete flexibility, but 1) break the flow of text in the Draftail richtext editor and 2) can't be used to link arbitrary text. If you want to render a link to a snippet model inside of body copy, then you probably want to use the snippet link. For anything else, the embed can be used.
![Demo of wagtail-draftail-snippet plugin](https://i.imgur.com/pyX25hg.gif)
![Demo of wagtail-draftail-snippet plugin](draftail-snippet-demo.gif)
## Install

BIN
draftail-snippet-demo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 MiB