Answer the question
In order to leave comments, you need to log in
The problem with replacing a new line with a new line with a space, how to solve?
There is such a small script for replacing the input of a new line with a new line with a space, made using vue
new Vue ({
el: '#app',
data: {
input: '',
},
methods: {
onInput() {
this.input = this.input.split('\n').join('⠀\n');
}
}
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question