undefinedoffset/silverstripe-keyboardshortcuts
Composer 安装命令:
composer require undefinedoffset/silverstripe-keyboardshortcuts
包简介
Adds keyboard shortcuts for common tasks to SilverStripe 4.0+ (ctrl/command+s for save anyone?)
README 文档
README
Adds keyboard shortcuts for common tasks to SilverStripe 4.0+ (ctrl/command+s for save anyone?).
Requirements
- SilverStripe 4.0+
Installation
composer require undefinedoffset/silverstripe-keyboardshortcuts
If you prefer you may also install manually:
- Download the module from here https://github.com/UndefinedOffset/silverstripe-keyboardshortcuts/archive/master.zip
- Extract the downloaded archive into your site root so that the destination folder is called keyboardshortcuts, opening the extracted folder should contain _config.php in the root along with other files/folders
- Run dev/build?flush=all to regenerate the manifest
Shortcuts:
These shortcuts are not guaranteed to work in all browsers on all operating systems, and what they do by default on your particular browser/os is not guaranteed so take care. This module uses a slightly modified Mousetrap by ccampbell for it's keyboard event handling, modifications are to allow interfacing with TinyMCE.
Global
ctrl+s/command+s Save/Save Draft
ctrl+alt+n Add Page/Create Page/New Model Admin Item
ctrl+f/command+f Toggles the search panel in pages and in other cms sections
ctrl+shift+f/command+shift+f Clears the current search filters in pages and in other cms sections
Pages and Files only
ctrl+shift+s/command+shift+s Save and Publish
Pages only
ctrl+k/command+k Toggle between Draft/Published Preview [not saved]
ctrl+m/command+m Toggle between preview modes (Split mode > Edit mode > Preview mode) saved in session
ctrl+j/command+j Toggle between preview sizes (Auto > Desktop > Tablet > Mobile) saved in session
TinyMCE
alt+shift+k/alt+shift+k Unlink
ctrl+shift+m/command+shift+m Insert Media
ctrl+shift+l/command+shift+l Insert or Remove Bulleted List
ctrl+l/command+l Insert or Remove Numbered List
These are in addition to the built in keyboard shortcuts for TinyMCE:
ctrl+z/command+z Undo Typing
ctrl+y/command+y Redo Typing
ctrl+b/command+b Bold text
ctrl+i/command+i Italic text
ctrl+u/command+u Underline text
ctrl+1 to ctrl+6/command+1 to command+6 Heading 1 to 6
ctrl+7/command+7 Paragraph
ctrl+8/command+8 Div
ctrl+9/command+9 Address
undefinedoffset/silverstripe-keyboardshortcuts 适用场景与选型建议
undefinedoffset/silverstripe-keyboardshortcuts 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 11.87k 次下载、GitHub Stars 达 18, 最近一次更新时间为 2013 年 12 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「silverstripe」 「shortcuts」 「keyboard」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 undefinedoffset/silverstripe-keyboardshortcuts 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 undefinedoffset/silverstripe-keyboardshortcuts 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 undefinedoffset/silverstripe-keyboardshortcuts 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Add customisable Shortcut-Links to the Control Panel Sidebar
PHP Telegram Bot InlineKeyboard Pagination
Analytics chooser extensions for site settings.
CitaNZ's SilverStripe picture object and field for SilverStripe 4
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
统计信息
- 总下载量: 11.87k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 25
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2013-12-22