Skip to content

Commit

Permalink
Adjust package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Mar 16, 2021
1 parent a4fc209 commit a17d4ec
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/rich-text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"@babel/runtime": "^7.12.5",
"@wordpress/compose": "file:../compose",
"@wordpress/data": "file:../data",
"@wordpress/deprecated": "file:../deprecated",
"@wordpress/dom": "file:../dom",
"@wordpress/element": "file:../element",
"@wordpress/escape-html": "file:../escape-html",
Expand Down
11 changes: 11 additions & 0 deletions packages/rich-text/src/component/use-rich-text.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* WordPress dependencies
*/
import { useCallback } from '@wordpress/element';

function useRichText( { value, onChange } ) {
return useCallback( ( element ) => {
if ( ! element ) {
}
}, [] );
}

0 comments on commit a17d4ec

Please sign in to comment.