Download the PHP package philippoehrlein/typo-and-paste without Composer
On this page you can find all versions of the php package philippoehrlein/typo-and-paste. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download philippoehrlein/typo-and-paste
More information about philippoehrlein/typo-and-paste
Files in philippoehrlein/typo-and-paste
Package typo-and-paste
Short Description A Kirby plugin for managing and inserting special characters with multi-language support.
License MIT
Homepage https://github.com/philippoehrlein/typo-and-paste
Informations about the package typo-and-paste
Typo & Paste
Typo & Paste is a Kirby plugin that allows users to easily manage and insert special characters with multi-language support.
Table of Contents
- Features
- Compatibility
- Installation
- Composer
- Manual Installation
- Configuration
- Access Points
- Panel Toolbar Button
- Writer Mark Button
- Textarea Button
- Keyboard Shortcuts
- Character Configuration
- AI Support
- Using AI for Configuration
- Translations
- Development
- License
Features
- Multi-Language Support: Supports various languages for characters and the user interface.
- Custom Characters: Users can define and add their own characters.
- Multiple Access Points:
- Panel toolbar button
- Writer mark button
- Textarea button
- Keyboard shortcuts (
Option+T
/Alt+T
)
- Clipboard Copy: Easily copy characters to the clipboard.
Compatibility
This plugin is compatible with Kirby 4 and 5.
Installation
Composer
Manual Installation
- Download and extract the plugin
- Copy the
typo-and-paste
folder into/site/plugins/
Configuration
Access Points
The plugin provides four ways to access special characters:
1. Panel Toolbar Button
In Kirby 5, configure the Panel toolbar button in your page, site, or file blueprint:
Or globally in your config:
2. Writer Mark Button
To add the Typo & Paste button to the Writer toolbar, include typo-and-paste
in your field's marks configuration:
3. Textarea Button
To add the Typo & Paste button to a textarea, add typo-and-paste
in your field's buttons configuration:
4. Keyboard Shortcuts
- Use
Option+T
(Mac) orAlt+T
(Windows/Linux) to open the character dialog from anywhere - Navigate characters using arrow keys
- Press
Enter
to add the selected character to your clipboard
Character Configuration
Define custom characters in your config:
AI Support
This plugin includes an AI-friendly schema definition (AI-SCHEMA.md) to help generate configurations using AI language models. The schema provides:
- Structured format for character group definitions
- Clear property descriptions and requirements
- Guidelines for creating meaningful character groups
- Examples of proper configuration
Using AI for Configuration
- Share the content of AI-SCHEMA.md with your AI assistant
- Describe your specific use case and requirements
- The AI will generate a configuration following the schema
- Review and adjust the generated configuration as needed
Example prompt:
Using the schema, create a configuration for a blog about [your topic]. The content will be in [languages] and editors work in [languages].
Translations
The plugin includes a default set of translations for en
, de
, fr
, es
, nl
, and it
.
Add custom translations:
Development
- Clone the repository
- Install dependencies:
composer install
- Run playground:
composer dev
- Open: localhost:8000
License
MIT License