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

v7 How to implement placeholder line wrapping #9529

Open
ClearSeve opened this issue Apr 5, 2024 · 1 comment
Open

v7 How to implement placeholder line wrapping #9529

ClearSeve opened this issue Apr 5, 2024 · 1 comment

Comments

@ClearSeve
Copy link

I've tried it, but it doesn't work. I want to achieve this multi-line display.

tinymce.init({
    placeholder: `line1 
 line2`,
});
tinymce.init({
    placeholder: `line1
line2`,
});
tinymce.init({
    placeholder: `line1 \n line2`,
});
@ClearSeve ClearSeve changed the title How to implement placeholder line wrapping v7 How to implement placeholder line wrapping Apr 5, 2024
@lostkeys
Copy link
Member

lostkeys commented Apr 5, 2024

Hi @ClearSeve! This is not supported due to how the CSS content property work. So it would be a feature request. Please help us out by answering the following questions

🫶 What is the motivation?

Pitch why this feature or improvement should be implemented.

🔗 What is the consequence of not having this feature?

This helps understand the underlying pain-points

🚦 How important would you rate the requested feature or improvement?

Choose from nice-to-have, important or critical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants