nhn / tui.grid

🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!
http://ui.toast.com/tui-grid/
MIT License
2.41k stars 388 forks source link

not working placeholder and setPlaceholder() #1929

Closed thddntjr1234 closed 1 year ago

thddntjr1234 commented 1 year ago

Describe the bug Displayed as a gray box if a placeholder was specified during editor initialization or if editor.setPlaceholder() was applied after editor initialization without specifying a placeholder initialization option.

The initial editor type is set to wysiwyg.

To Reproduce

스크린샷 2023-06-17 오후 5 42 46

In the vue.js 3 framework environment

Add an initial editor object to the variable you declared with let editor, like this At this point, add the placeholder option or declare the editor object without the placeholder option and then use the editor.setPlaceholder() method to specify a placeholder.

Also declaring a variable is done in the setup() lifecycle, and adding an editor object to a variable is done in the onMounted() lifecycle.

Expected behavior If you follow these settings, the placeholder should display as expected.

Screenshots

스크린샷 2023-06-17 오후 5 36 54

Desktop (please complete the following information):

thddntjr1234 commented 1 year ago

I mistook the repository I was supposed to upload to, I'll close this issue.