collective.volto.blocksfield


Namecollective.volto.blocksfield JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/collective/collective.volto.blocksfield
SummaryField that allows to use blocks instead rich text
upload_time2023-07-03 09:40:56
maintainer
docs_urlNone
authorRedTurtle Technology
requires_python>3.6
licenseGPL version 2
keywords python plone
VCS
bugtrack_url
requirements setuptools zc.buildout
Travis-CI
coveralls test coverage
            ============================
collective.volto.blocksfield
============================

Custom z3c.form field that allows to use Volto blocks.

This field can replace RichText fields in your custom content-types.

Features
--------

- store a json object with all blocks informations (data and order)
- restapi serializer/deserializer to manage internal links
- registered custom indexer for `collective.dexteritytextindexer` (if installed)

How to use
----------

Import it and use as a normal field::

    from collective.volto.blocksfield.field import BlocksField

    class IMySchema(Interface):

        my_field = BlocksField(
            title="A field with blocks",
        )


Installation
------------

Install collective.volto.blocksfield by adding it to your buildout::

    [buildout]

    ...

    eggs =
        collective.volto.blocksfield


and then running ``bin/buildout``

You don't need to install it.

TODO
----

- Tests

Contribute
----------

- Issue Tracker: https://github.com/collective/collective.volto.blocksfield/issues
- Source Code: https://github.com/collective/collective.volto.blocksfield


License
-------

The project is licensed under the GPLv2.

Authors
-------

This product was developed by **RedTurtle Technology** team.

.. image:: https://avatars1.githubusercontent.com/u/1087171?s=100&v=4
   :alt: RedTurtle Technology Site
   :target: http://www.redturtle.it/


Contributors
============

- RedTurtle Technology, sviluppo@redturtle.it


Changelog
=========


2.0.0 (2023-07-03)
------------------

- Drop support for Plone 5.2 and collective.dexteritytextindexer; in Plone6
  we use core functions in plone.app.dexterity.textindexer
  [lucabel]

1.0.3 (2022-05-31)
------------------

- Fix required python version.
  [cekk]

1.0.2 (2022-05-25)
------------------

- add check if value is a dict in SearchableText indexer.
  [eikichi18]


1.0.1 (2021-03-25)
------------------

- Register standard blocks serializers/deserializer for IDexterityContent. Otherwise they don't work.
  [cekk]


1.0.0 (2021-02-24)
------------------

- Initial release.
  [cekk]

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/collective/collective.volto.blocksfield",
    "name": "collective.volto.blocksfield",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">3.6",
    "maintainer_email": "",
    "keywords": "Python Plone",
    "author": "RedTurtle Technology",
    "author_email": "sviluppo@redturtle.it",
    "download_url": "https://files.pythonhosted.org/packages/12/cd/090a07d84917c22631a9732a8f904f1e1165cd21c03ce4875f633e4cb2c0/collective.volto.blocksfield-2.0.0.tar.gz",
    "platform": null,
    "description": "============================\ncollective.volto.blocksfield\n============================\n\nCustom z3c.form field that allows to use Volto blocks.\n\nThis field can replace RichText fields in your custom content-types.\n\nFeatures\n--------\n\n- store a json object with all blocks informations (data and order)\n- restapi serializer/deserializer to manage internal links\n- registered custom indexer for `collective.dexteritytextindexer` (if installed)\n\nHow to use\n----------\n\nImport it and use as a normal field::\n\n    from collective.volto.blocksfield.field import BlocksField\n\n    class IMySchema(Interface):\n\n        my_field = BlocksField(\n            title=\"A field with blocks\",\n        )\n\n\nInstallation\n------------\n\nInstall collective.volto.blocksfield by adding it to your buildout::\n\n    [buildout]\n\n    ...\n\n    eggs =\n        collective.volto.blocksfield\n\n\nand then running ``bin/buildout``\n\nYou don't need to install it.\n\nTODO\n----\n\n- Tests\n\nContribute\n----------\n\n- Issue Tracker: https://github.com/collective/collective.volto.blocksfield/issues\n- Source Code: https://github.com/collective/collective.volto.blocksfield\n\n\nLicense\n-------\n\nThe project is licensed under the GPLv2.\n\nAuthors\n-------\n\nThis product was developed by **RedTurtle Technology** team.\n\n.. image:: https://avatars1.githubusercontent.com/u/1087171?s=100&v=4\n   :alt: RedTurtle Technology Site\n   :target: http://www.redturtle.it/\n\n\nContributors\n============\n\n- RedTurtle Technology, sviluppo@redturtle.it\n\n\nChangelog\n=========\n\n\n2.0.0 (2023-07-03)\n------------------\n\n- Drop support for Plone 5.2 and collective.dexteritytextindexer; in Plone6\n  we use core functions in plone.app.dexterity.textindexer\n  [lucabel]\n\n1.0.3 (2022-05-31)\n------------------\n\n- Fix required python version.\n  [cekk]\n\n1.0.2 (2022-05-25)\n------------------\n\n- add check if value is a dict in SearchableText indexer.\n  [eikichi18]\n\n\n1.0.1 (2021-03-25)\n------------------\n\n- Register standard blocks serializers/deserializer for IDexterityContent. Otherwise they don't work.\n  [cekk]\n\n\n1.0.0 (2021-02-24)\n------------------\n\n- Initial release.\n  [cekk]\n",
    "bugtrack_url": null,
    "license": "GPL version 2",
    "summary": "Field that allows to use blocks instead rich text",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://github.com/collective/collective.volto.blocksfield",
        "PyPI": "https://pypi.python.org/pypi/collective.volto.blocksfield",
        "Source": "https://github.com/collective/collective.volto.blocksfield",
        "Tracker": "https://github.com/collective/collective.volto.blocksfield/issues"
    },
    "split_keywords": [
        "python",
        "plone"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12cd090a07d84917c22631a9732a8f904f1e1165cd21c03ce4875f633e4cb2c0",
                "md5": "776500ab503c2d51e31e542e45d9389a",
                "sha256": "87f038667168046117311f8567d0899cc0290650d97a968510a1a30bf49c749b"
            },
            "downloads": -1,
            "filename": "collective.volto.blocksfield-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "776500ab503c2d51e31e542e45d9389a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">3.6",
            "size": 22639,
            "upload_time": "2023-07-03T09:40:56",
            "upload_time_iso_8601": "2023-07-03T09:40:56.295037Z",
            "url": "https://files.pythonhosted.org/packages/12/cd/090a07d84917c22631a9732a8f904f1e1165cd21c03ce4875f633e4cb2c0/collective.volto.blocksfield-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-03 09:40:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "collective",
    "github_project": "collective.volto.blocksfield",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": false,
    "requirements": [
        {
            "name": "setuptools",
            "specs": []
        },
        {
            "name": "zc.buildout",
            "specs": []
        }
    ],
    "lcname": "collective.volto.blocksfield"
}
        
Elapsed time: 0.09004s