Updates
* README for custom adapter explanation
* README for `adapter_help` command
* Adapters can be fully customized with callbacks into custom JS functions
* Quicklink in block-wrappers to view block in Wagtail admin if `admin` is provided to `BlockAdapter`
* Allow adapters to specify `absolute_tokens` which act like boolean flags inside of the template-tag. These are not parsed as variables!
Additions
* `adapter_help` management command
* 3 new adapters, `BaseFieldFuncAdapter`, `BaseBlockFuncAdapter`, `BackgroundImageFieldAdapter`
* Docstrings for functions in most files
* `WAGTAIL_FEDIT_SIGN_SHARED_CONTEXT` setting to determine if shared context should be signed with a secret key.
* Adapters can provide form attributes (in the iFrame) which in turn can control editor size, size can be `full`, `large` or unspecified for default size.
* Use template-tag to dynamically include all required CSS for your custom adapters with the `wagtail_fedit.register_css` hook.
* Use template-tag to dynamically include all required JS for your custom adapters with the `wagtail_fedit.register_js` hook.
* `wagtail_fedit.field_editor_size` hook to control size of modal for FieldAdapters.
* Check for `editor_size` on block's `meta` attribute to control editor size for BlockAdapters.
Changes
* Move `wrap_adapter` to `utils.py` to avoid import-loops
* Check for `block_id` and `block` if `block` is not `BoundBlock` for the `BlockAdapter`
* Improvements to frontend CSS
* Initialize `FeditToolbarComponent` object with request instead of passing to methods.
Removed
* Multiple unused functions
* Multiple unused templates
* Request argument from methods `FeditToolbarComponent` methods.