Suneditor: Toolbar์—์„œ ํŠน์ • ๋ฒ„ํŠผ๋งŒ ํ™œ์„ฑํ™” ๋˜๋Š” ๊ธฐ๋Šฅ

Created on 11 Aug 2020  ยท  2Comments  ยท  Source: JiHong88/SunEditor

@JiHong88

When the editor is in disable=true state, I want to enable only a specific button in the toolbar.

Is there a way to activate only specific buttons (ex. full screen, preview) like the picture below?

image

question

All 2 comments

@hajeonghun
์•„๋ž˜ ์ฝ”๋“œ๊ฐ€ ์ด๋ฏธ์ง€ ์„ ํƒ์‹œ ๋ฒ„ํŠผ ๋น„ํ™œ์„ฑํ™” ํ•˜๋Š” ์ฝ”๋“œ ์ž…๋‹ˆ๋‹ค.
์ด๊ฑธ ์‚ฌ์šฉํ•˜์‹œ๋ฉด ๋  ๊ฒƒ ๊ฐ™์•„์š”.
core.util.toggleDisabledButtons(true, core.resizingDisabledButtons);

๋‹ค์Œ ๋ฒ„์ „ ๋ถ€ํ„ฐ toggleDisabledButtons => setDisabledButtons ๋กœ ์ด๋ฆ„์ด ๋ณ€๊ฒฝ ๋ฉ๋‹ˆ๋‹ค.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vuvansang07 picture vuvansang07  ยท  4Comments

drnkwati picture drnkwati  ยท  6Comments

David-Grass-Feria picture David-Grass-Feria  ยท  6Comments

cacuestai picture cacuestai  ยท  3Comments

redone80 picture redone80  ยท  4Comments