Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Indentation with ng-model #128

Open
furyscript opened this issue Oct 13, 2016 · 0 comments
Open

Indentation with ng-model #128

furyscript opened this issue Oct 13, 2016 · 0 comments

Comments

@furyscript
Copy link

I have a simple ui-codemirror page with ng-model bind to a string of code like this

$scope.str = "Hello\
I'm Jhon";

But ui-codemirror not respect indentation so I put

$scope.str = "Hello\n\
I'm Jhon";

And It works fine.

Is there a solution without using \n default?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant