Open msultanic opened 1 year ago
Hey @msultanic, my PR fixes this, https://github.com/imnapo/react-native-cn-quill/pull/117.
If you use a template string (backticks), then this will render properly in conjunction with my PR.
`What's happening today?\nStart typing...`
Thanks @jakehasler!
The placeholder attribute in the library component fails to handle line breaks correctly, resulting in component crashes. When using line breaks, such as "placeholder="This\nis\nplaceholder"," the component becomes non-functional.
Steps to Reproduce:
Impact: The inability to use line breaks in the placeholder attribute limits customization options and hinders user experience.