How can TinyMCE fit his content when it's inside a absolute positioned container and also that the width keep updated during editing.
<div class="container">
<textarea>This is my very long text that shouldn't be broken. This is my very long text that shouldn't be broken</textarea>
</div>
<script src="//tinymce.cachefly.net/4.1/tinymce.min.js"></script>
<script>
tinymce.init({
selector:'textarea',
plugins: "autoresize"
});
</script>
The CSS:
.container {
position: absolute;
top: 10px;
left: 10px;
width: auto;
}