diff --git a/README.md b/README.md index b35e6a09..cb67d2a3 100644 --- a/README.md +++ b/README.md @@ -396,8 +396,7 @@ YTextEvents compute changes as deltas. insertEmbed(index:number, embed:Object<string,string>, [attributes:TextAttributes])
- Insert a string at index and assign formatting attributes to it. -
ytext.insert(0, 'bold text', { bold: true })
+ Insert an embed at index and assign formatting attributes to it.
delete(index:number, length:number)