balthazar / ng-markdown

:memo: [DEPRECATED] Markdown directive for AngularJS
http://apercu.github.io/ng-markdown/
MIT License
12 stars 1 forks source link

avoid using inline styles #5

Closed ralyodio closed 10 years ago

ralyodio commented 10 years ago

It makes it more difficult to re-style because you're using inline styles.

balthazar commented 10 years ago

Where ? On the textarea element ?

ralyodio commented 10 years ago

Yeah. everything should be handled by a class and defined in CSS file.

balthazar commented 10 years ago

I know, that's partially why I reformat a lot of code inside the editor script. These inline style comes from the elastic directive that allow the textarea to resize automatically depending on it's content.

Since the calculations are done in Javascript, there is no other way I think

ralyodio commented 10 years ago

Is there anyway to disable that elastic feature?

-- Anthony

On Jun 29, 2014, at 1:35 PM, Apercu notifications@github.com wrote:

I know, that's partially why I reformat a lot of code inside the editor script. These inline style comes from the elastic diretive that allow the textarea to resize automatically depending on it's content.

Since the calculations are done in Javascript, there is no other way I think

— Reply to this email directly or view it on GitHub.

balthazar commented 10 years ago

Not for now, but I'm working on it