定制 croox/language-selector 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

croox/language-selector

最新稳定版本:v1.0.1

Composer 安装命令:

composer require croox/language-selector

包简介

A Statamic addon for selecting languages in Bard fields

README 文档

README

A Statamic addon that adds language selection functionality to Bard fields.

Features

  • Adds a language selector button to Bard fields
  • Wraps selected text in a <span lang="..."> tag

Limitations

  • Available languages are currently hard-coded

Installation

You can install the package via composer:

composer require croox/language-selector

Usage

  1. The language selector button will appear in your Bard field toolbar
  2. Select the text you want to mark with a language
  3. Click the language button and select the appropriate language
  4. The text will be wrapped in a <span> tag with the correct lang attribute

Development

  1. Clone this repository
  2. Run npm install
  3. Run npm run build

License

MIT License

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-24