bootstrap-markdown
bootstrap-markdown copied to clipboard
Bottom control support
Can you please provide the option of placing the controls neither top or bottom ?
i believe you could do this by changing styles.
No you can't, the .md-header.btn-toolbar needs to come after the textarea.md-input if you want the placement at the bottom.
This needs js implementation. @toopay I can send a PR if you want this. :)
something like this:
.my-selector .md-editor {
position: relative;
}
.my-selector .md-header {
position: absolute;
bottom: 0;
}
doing it via js is much less complicated. But if we do it in css, you need to consider the fullscreen styles, borders, etc. maybe adding an extension to the .md-header in less will work.
I think it will result to style conflicts but feel free to send a pr.
well, if you want to provide bottom controls out-of-the-box, js is better than css. in my previous comments, i meant that you can make controls appear on bottom right now, without changing bootstrap-markdown's code.