The current behaviour is on changing the editor size horizontally , the word is breaking and the placeholder becomes 2 liner , but what I want is to be in single line and if the text overflows the placeholder text should become ellipses.
Also I am using lineWrapping extension, I tried adding inline styles to cm-placeholder to make it ellipses , but none of them are working ,
You could use CSS like this to get such an effect. Unfortunately, due to the weird way that overflow: hidden elements still increase the size of their parents in CSS, this only seems to work if you’re able to set a fixed width for the placeholder.