-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add freeform support to the react native editor (#22609)
* Add freeform support to the react native editor * Remove duplicate video def * Use a hook to hide the Classic block in the inserter * Improve display of Classic block from visual editor * Fix tab indent * Try getting the HTML from the component state instead of syncing to the store * Fix lint errors
- Loading branch information
Showing
4 changed files
with
58 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
import MissingEdit from '../missing/edit'; | ||
|
||
const ClassicEdit = ( props ) => ( | ||
<MissingEdit | ||
{ ...props } | ||
attributes={ { ...props.attributes, originalName: props.name } } | ||
/> | ||
); | ||
|
||
export default ClassicEdit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters