承接 prgfx/neos-textpartlanguage 相关项目开发

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

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

prgfx/neos-textpartlanguage

最新稳定版本:v0.4.0

Composer 安装命令:

composer require prgfx/neos-textpartlanguage

包简介

Neos package to integrate the ckeditor5-language plugin into the CKEditor to allow tagging content for specific languages

README 文档

README

Version

Prgfx.Neos.TextPartLanguage

This package allows editors to tag selected text with a language, helping assistive technology with pronunciation, implementing the WCAG 3.1.2 Language of Parts specification.

composer require prgfx/neos-textpartlanguage

This plugin is based on @ckeditor/ckeditor5-language, making the necessary adaptations to use it with the Neos backend.

Screenshot of the plugin in the Neos backend

Usage

Enable it for a node property:

'Neos.Demo:Content.Text':
  properties:
    text:
      ui:
        inline:
          editorOptions:
            textLanguages: true

Or set specific properties:

'Neos.Demo:Content.Text':
  properties:
    text:
      ui:
        inline:
          editorOptions:
            textLanguages:
              languages:
                de: German
                en: My.Package:Main:textLanguages.languages.en
                fr: French
                gr: ~
              placeholder: My.Package:Main:textLanguages.placeholder

Configuration

By default, this plugin provides the system-languages configured in Neos.Neos.userInterface.availableLanguages, but different default values can be set at Neos.Neos.Ui.frontendConfiguration.'Prgfx.Neos.TextPartLanguage:languages'.

Appearance

In the backend this plugin underlines all marked text-elements through a stylesheet included in prototype(Neos.Neos:Page).head.stylesheets.textPartLanguage which you might disable, if you don't require it or want to apply custom styling.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2021-04-30