bevacqua / woofmark

:dog2: Barking up the DOM tree. A modular, progressive, and beautiful Markdown and HTML editor
https://bevacqua.github.io/woofmark
MIT License
1.62k stars 74 forks source link

Ability to change the position of the controls #59

Open fresheneesz opened 6 years ago

fresheneesz commented 6 years ago

The controls appear on the bottom by default. This seems weird to me. It would be nice to have the option of putting those controls above the text area.

richrd commented 5 years ago

I think the best solution is to just use CSS. Make the container a flexbox and then set the CSS order property for the controls:

.wk-container {
  display: flex;
  flex-direction: column;
}

.wk-commands {
  order: -1;
}