Skip to content

Textarea: readEditor(): call callback after editing#8

Open
plepe wants to merge 1 commit intoembarklabs:masterfrom
plepe:textarea-readeditor
Open

Textarea: readEditor(): call callback after editing#8
plepe wants to merge 1 commit intoembarklabs:masterfrom
plepe:textarea-readeditor

Conversation

@plepe
Copy link

@plepe plepe commented Jul 18, 2018

I noticed, that the readEditor() callback on the Textarea widget won't be called after closing the external editor. This little change fixes this problem.

@iurimatias iurimatias self-assigned this Jul 19, 2018
@plepe plepe force-pushed the textarea-readeditor branch from c8545e1 to 37e93a4 Compare July 20, 2018 11:42
Copy link

@GottZ GottZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after looking at the whole file i suggest adding a return statement in front of that callback call. return callback(null, value);

@plepe plepe force-pushed the textarea-readeditor branch from 37e93a4 to 0ac6527 Compare February 1, 2019 08:49
@plepe
Copy link
Author

plepe commented Feb 1, 2019

Does not really change anything, but yes - why not. I modified the commit and force-pushed the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants