承接 grommasdietz/kirby-hidden-characters 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

grommasdietz/kirby-hidden-characters

最新稳定版本:2.1.0

Composer 安装命令:

composer require grommasdietz/kirby-hidden-characters

包简介

Kirby CMS plugin for visualising hidden characters in the Panel

README 文档

README

Kirby CMS plugin to visually show hidden characters like spaces, soft hyphens, tabs, line breaks, or paragraph endings in focused writer, textarea, and text fields. The dimmed visual feedback is inspired by Adobe InDesign's hidden-characters mode, providing a familiar experience for content editors.

Cover image showing an example of the plugin in use

Legend

The plugin visualizes the following characters using a custom icon font:

Name Unicode Character Description
Space U+0020 Space Space Centered dot
Thin Space U+2009 Thin Thin Centered dot with chevron above
No-Break Space U+00A0 No break No break Centered dot with inverted chevron below
Narrow No-Break Space U+202F Narrow no break Narrow no break Centered dot with inverted chevron above
Em Space U+2003 Em Em Centered dot with em dash below
En Space U+2002 En En Centered dot with en dash below
Three-Per-Em Space U+2004 Three Three Centered dot with large dot above
Four-Per-Em Space U+2005 Four Four Centered dot with large dot below
Six-Per-Em Space U+2006 Six Six Centered dot with same-sized dot below
Hair Space U+200A Hair Hair Centered dot with two small dots above
Punctuation Space U+2008 Punctuation Punctuation Centered dot with dot below and vertical stroke above
Figure Space U+2007 Figure Figure Centered dot inside number sign
Medium Mathematical Space U+205F Math Math Centered dot with negation sign above
Zero-Width Space U+200B Zero width Zero width Dashed vertical stroke
Soft Hyphen U+00AD Soft hyphen Soft hyphen Vertical stroke indicating possible hyphenation
Tab U+0009 Tab Tab Two rightward arrows spanning the tab stop width
Line Break U+000A Break Break Negation sign representing hard line break
Paragraph End Paragraph Paragraph Pilcrow sign representing the end of a paragraph
Story End Paragraph end Paragraph end Number sign representing the end of the entire text block

Soft hyphens, tabulators, line breaks and paragraph endings are only rendered in writer and textarea, not on single-line <input> elements.

Requirements

  • Kirby 5+
  • PHP 8.2+

Installation

composer require grommasdietz/kirby-hidden-characters

Tip

If you don’t use Composer, you can download this repository and copy it to site/plugins/kirby-hidden-characters.

Quickstart

This plugin works out of the box with no configuration required.

Configuration

Developers building Panel plugins can register additional field components as overlay targets or customize the overlay element before insertion via the JavaScript extension API. See Extension API for details.

Documentation

Full reference for usage, contributions and maintenance lives in documentation.

Credits

The overlaying logic is adapted from Kirby Soft Hyphens plugin by @hansipete. Thank you!

Changelog

See CHANGELOG.md for version history and changes.

Security

See SECURITY.md for security policies and reporting vulnerabilities.

Contributing

See CONTRIBUTING.md for guidance and expectations.

License

MIT © 2024 Grommas Dietz

统计信息

  • 总下载量: 1.41k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 44
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 44
  • Watchers: 0
  • Forks: 0
  • 开发语言: SCSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固