make name the core block info
This commit is contained in:
@@ -4,7 +4,7 @@ enum PHBlockKind: String {
|
||||
|
||||
extension PHBlock {
|
||||
var kind: PHBlockKind {
|
||||
if command.starts(with: "_space") { return .space }
|
||||
if name.starts(with: "_space") { return .space }
|
||||
return .text
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user