GithubHelp home page GithubHelp logo

mypreview / block-data-attribute Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 1.59 MB

This plugin designed with extensibility in mind for data that should be associated with a particular block type but need not have any defined meaning.

Home Page: https://wordpress.org/plugins/block-data-attribute

License: GNU General Public License v3.0

JavaScript 59.28% PHP 40.72%
attributes blockeditor free gutenberg gutenberg-blocks gutenberg-plugin wordpress wordpress-plugin

block-data-attribute's People

Contributors

gooklani avatar mahdiyazdani avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

block-data-attribute's Issues

Block breaks when highlighting text across multiple blocks

Hi. I submitted this support thread and also thought it could go here. I am running into a problem with your plugin. When this plugin is activated, and you have a post with multiple paragraphs, then do a simple text highlight across multiple blocks, the first block where you started your selection breaks. You need to refresh the page without a save to get them working again. In my console there are some deprecation warnings and also an error by react-dom.


wp.components.IconButton is deprecated. Please use wp.components.Button instead.c @ 
deprecated.min.js?ver=be1d4376501c21d85ba98dd28ca2d7ea:2
deprecated.min.js?ver=be1d4376501c21d85ba98dd28ca2d7ea:2 

wp.data.select( 'core/editor' ).getBlocks` is deprecated. 
Please use `wp.data.select( 'core/block-editor' ).getBlocks` instead.c @ 
deprecated.min.js?ver=be1d4376501c21d85ba98dd28ca2d7ea:2
deprecated.min.js?ver=be1d4376501c21d85ba98dd28ca2d7ea:2 

Using custom components as toolbar controls is deprecated. 
Please use ToolbarItem or ToolbarButton components instead. See: https://developer.wordpress.org/block-editor/components/toolbar-button/#inside-blockcontrols c @ 
deprecated.min.js?ver=be1d4376501c21d85ba98dd28ca2d7ea:2
deprecated.min.js?ver=be1d4376501c21d85ba98dd28ca2d7ea:2 

Using Toolbar without label prop is deprecated. Please use ToolbarGroup component instead. See: https://developer.wordpress.org/block-editor/components/toolbar/ c @ 
deprecated.min.js?ver=be1d4376501c21d85ba98dd28ca2d7ea:2

react-dom.min.js?ver=16.13.1:125 TypeError: Cannot read property 'name' of null
    at script.js?ver=d253bec9f726baa0adf9f8a3da958145:1
    at we (react-dom.min.js?ver=16.13.1:84)
    at He (react-dom.min.js?ver=16.13.1:97)
    at zj (react-dom.min.js?ver=16.13.1:228)
    at Th (react-dom.min.js?ver=16.13.1:152)
    at tj (react-dom.min.js?ver=16.13.1:152)
    at Te (react-dom.min.js?ver=16.13.1:146)
    at react-dom.min.js?ver=16.13.1:61
    at unstable_runWithPriority (react.min.js?ver=16.13.1:25)
    at Da (react-dom.min.js?ver=16.13.1:60)
Me @ react-dom.min.js?ver=16.13.1:125

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.