Using multiple indentations can force text outside the editor window
- Descriptive summary - If you create an inline editor and click the indent button multiple times, eventually the text being indented will be pushed outside the editor frame. This does not happen when using the standard editor functionality
- Steps to reproduce -
- Create an inline editor
- Enter some sample text
- Repeatedly click the indentation button
- Browser and OS - Windows 7 Chrome Version 39.0.2171.71 m
- Test case file - I created a basic JSFiddle
This "issue" can be best observed when container has fixed width set. This however is not really an issue but how CSS and HTML work.
If you use below code in HTML5 page, you will get same result:
To get rid of it, add overflow property to container. You can set it to scroll, overlay or auto (whatever works best for you.)