Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setOptions method suggestions #383

Closed
mkhstar opened this issue Jun 1, 2020 · 2 comments
Closed

setOptions method suggestions #383

mkhstar opened this issue Jun 1, 2020 · 2 comments
Milestone

Comments

@mkhstar
Copy link

mkhstar commented Jun 1, 2020

Hi @JiHong88,
Currently when the setOptions method is called, it replaces the old options passed to it. Can we make it in such a way that, after the initial setting, when a specific option is set afterwards, it only updates that specific option.
For example.
Initially setOptions was called like

setOptions({buttonList: [['image', 'fontSize']]})

Afterwards when it is called like below

setOptions({width: '80%'})

It shouldn't replace the whole options but it should just set the width option like below

setOptions({width: '80%', buttonList: [['image', 'fontSize']] })
@JiHong88
Copy link
Owner

JiHong88 commented Jun 2, 2020

Hi @mkhstar
This is a bug different from the development intent.
It has been modified in the development version, and will be updated from the next version.
It was scheduled to be updated today, but it will take another day or two.

@JiHong88 JiHong88 added this to the 2.30.0 milestone Jun 3, 2020
@JiHong88 JiHong88 closed this as completed Jun 3, 2020
@JiHong88
Copy link
Owner

JiHong88 commented Jun 9, 2020

The 2.30.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

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

No branches or pull requests

2 participants