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

Buttons feature request #11

Closed danvim closed 9 years ago

danvim commented 9 years ago

I have some feature requests.

  1. Can you add an option to let the buttons render on top of the textarea?
  2. Can the buttons including custom ones get arranged for display? For example, bring the Heading buttons left, next to italic?
derhuerst commented 9 years ago

@vimxts about 1: I think this is an edge-case that shouldn't affect the size or performance of woofmark. Maybe this is possible with clever external CSS?

danvim commented 9 years ago

@derhuerst I can do it with CSS and of course JavaScript too, but wouldn't it be better if woofmark includes the option to prepend the buttons before the textarea?

Also, I haven't been able to do it with CSS, maybe because I'm not clever enough:

  1. I want .wk-commands and .wk-switchboard to float left so that they float in one line.
  2. They have to be positioned on top of the textarea.
  3. I should be able to add new command buttons to the sets and still be able to see everything.

I would use JS for this actions, I suppose it is a get around to the issue, I can even do it for the 2.

But I wish woofmark can include these helpful options while generating the editor, so a bigger liberty to styling can be achieved.

They other thing I would like to request is that woofmark should wrap .wk-commands and .wk-switchboard within a <div> upon generation.

bevacqua commented 9 years ago

I'm sorry but I'm not interested in adding this to core