Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Docs: Fixed invalid method name. Closes #1620.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Piechaczek committed Jan 24, 2019
1 parent 6515558 commit df8a777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export default class Schema {
* Example:
*
* // Disallow bold on $text inside heading1.
* schema.addChildCheck( ( context, attributeName ) => {
* schema.addAttributeCheck( ( context, attributeName ) => {
* if ( context.endsWith( 'heading1 $text' ) && attributeName == 'bold' ) {
* return false;
* }
Expand Down

0 comments on commit df8a777

Please sign in to comment.