![]() ![]() # Here are the requirements necessary to ensure this is successful. Your use of the packages on this site means you understand they are not supported or guaranteed in any way. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.įortunately, distribution rights do not apply for internal use. If you are an organization using Chocolatey, we want your experience to be fully reliable.ĭue to the nature of this publicly offered repository, reliability cannot be guaranteed. Human moderators who give final review and sign off.Security, consistency, and quality checking.ModerationĮvery version of each package undergoes a rigorous moderation process before it goes live that typically includes: Split current block into a new list item.Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community. Unwrap all items at range from their list. You can pass optional data for the created list container. Wrap the current blocks in list items of a list container of the given type. (change: Change, type: String?, data: object|Data?) => Transform (change: Change) => Transformĭecrease the depth of the current item. The returned list is empty if no such list can be found. The returned items are the highest list of of successive items that cover the given range. Return the list of items at the given range. (value: Value, range: Selection?) => List Returns the current list at selection (or at the given block). (value: Value, block: Block?) => Block || Void Returns the current item at selection (or at the given block). Returns the depth of the current item (or the depth of the given block) in a list. Return true if the node is one of the list type. Optional param type can be supplied to deduce whether list is of specified type. Return true if selection is inside a list (and it can be unwrap). Slate-edit-list exports utilities and transforms: (value: Value, type?: string) => Boolean kind: text text: Item 1.2 Utilities and Transform Useful transforms: see Utilities and Transform. List items can only be the direct children of a list.Lists can contain only list items, and at least one.Simple validation/normalization (see assumptions about the schema): Pressing Delete (OSX) or Backspace at the start, remove the list item (or the list).Pressing Shift+Tab decrease the depth of the item.Pressing Tab increase the depth of the item (creates a sub-list).Pressing Shift+Enter split the block in the list item.To learn more about why we forked Slate, read our manifest Install npm install slate-edit-list Previous versions are still available on NPMĪll the versions using GitBook's fork of slate are now published under the NPM scope. ⚠️ This repository is now using GitBook's fork of ianstormtaylor/slate. List items can contain blocks.ĭemo: /slate-edit-list/ A Slate plugin to handle keyboard events in lists.
0 Comments
Leave a Reply. |