start rewriting y-richtext
This commit is contained in:
@@ -73,6 +73,13 @@ export default class Item {
|
||||
get _length () {
|
||||
return 1
|
||||
}
|
||||
/**
|
||||
* Some elements are not supposed to be addressable. For example, an
|
||||
* ItemFormat should not be retrievable via yarray.get(pos)
|
||||
*/
|
||||
get _countable () {
|
||||
return true
|
||||
}
|
||||
/**
|
||||
* Splits this struct so that another struct can be inserted in-between.
|
||||
* This must be overwritten if _length > 1
|
||||
|
||||
Reference in New Issue
Block a user