We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I fixed the problem in Element by using a computed property to remove whitespace on set
var _content: String = "" var content: String { get { return _content } set (newValue){ _content = newValue.trimmingCharacters(in: .whitespacesAndNewlines) } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I fixed the problem in Element by using a computed property to remove whitespace on set
var _content: String = ""
var content: String {
get {
return _content
}
set (newValue){
_content = newValue.trimmingCharacters(in: .whitespacesAndNewlines)
}
}
The text was updated successfully, but these errors were encountered: