Giter Club home page Giter Club logo

volto-metadata-block's People

Contributors

ana-oprea avatar andreiggr avatar avoinea avatar dana-cfc4 avatar dobri1408 avatar eea-jenkins avatar ichim-david avatar ionlizarazu avatar mihaelacretu11 avatar nileshgulia1 avatar razvanmiu avatar silviubogan avatar tiberiuichim avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

volto-metadata-block's Issues

If the metadata block is added inside another volto block the content is not rendering

If you add the metadata-block inside another block, for example inside a volto-columns-block column, the content doesn't render.
The content it is not coming in props.properties but in props.metadata and props.properties is used for the block properties.

So, the solution would be to use properties if metadata doesn't exist and in case the metadata does exist, just use it.

Add an option to select image size when adding an image field to the metadata block

This perhaps needs changes both here and in volto-widgets-view.

It would be nice that the metadata block allows selecting the image scale size to be used when rendering this block, this way the user can select the size he wants to use.

The value selected by the user should be passed to volto-widgets-view ImageWidget which in essence renders the image in https://github.com/eea/volto-widgets-view/blob/master/src/components/theme/Widgets/ImageWidget.jsx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.