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

Indentation with ng-model #128

@furyscript

Description

@furyscript

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions