Skip to content

Commit

Permalink
Merge branch 'inline-tool-adapter' of https://github.com/editor-js/do…
Browse files Browse the repository at this point in the history
…cument-model into inline-tool-adapter
  • Loading branch information
e11sy committed Aug 30, 2024
2 parents 58335b4 + 70d078c commit f0e1335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/ui/InlineToolbar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export class InlineToolbar {
});

/**
* Do not render toolbar data former if element with options is null
* Do not render actions if element with options is null
* It means, that tool does not need any data, and callback will be triggered in adapter
*/
if (elementWithOptions === null) {
Expand Down
2 changes: 1 addition & 1 deletion packages/dom-adapters/src/FormattingAdapter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class FormattingAdapter {
}

/**
* Format content of the contenteditable element
* Allows to render formatting inside a passed input
*
* @param input - input element to apply format to
* @param inlineFragment - instance that contains index, toolName and toolData
Expand Down

0 comments on commit f0e1335

Please sign in to comment.