Open Alvol opened 6 months ago
Before Quill implements this, you can achieve a similar behavior via pure CSS (Example). You have to tweak the style though e.g. increase the placeholder font size if the current format is heading.
@luin yes, thanks for you suggestion. I'm just not sure it's good idea for me to write custom definition of empty text, base on quill inner structure. But, of course, as a workaround it should do it.
After text format changed from
normal
toheading
placeholder is removed from empty editor Creating new issue, since #2968 is not fixed in quill 2.0Steps for Reproduction
Normal
toHeading 1
orHeading 2
Expected behavior: Placeholder should we visible, with heading format applied
Actual behavior: No placeholder
Platforms:
Windows 10, Chrome 124, Firefox 126
Version:
2.0.0