定制 coralic/kirby-extended-writer 二次开发

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

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

coralic/kirby-extended-writer

最新稳定版本:1.1.1

Composer 安装命令:

composer require coralic/kirby-extended-writer

包简介

Supercharge Kirby's Writer field with new nodes, marks and features

关键字:

README 文档

README

Preview of Kirby Extended Writer plugin

Most features that this plugin provides or is meant to provide in the future will be added to Kirby 4.0+. It still works for Kirby 3.6-3.9+. Going forward, this plugin will be archived and not receive any more updates as our wishes have been fulfilled :)

Extended Writer

Extended Writer supercharges Kirby's built-in Writer field and block with useful marks, nodes and features you wish were built-in.

Features

  • New marks:
    • Highlight: Highlight text using the html <mark> tag
  • New nodes:
    • Larger Paragraph: A larger paragraph, e.g. for short introduction or highlighted passages. (<div class="-larger-paragraph">)
  • Enable & disable heading levels of the heading node with h1/h2/h3/h4/h5/h6
  • Node property support for the List field, to disable the default bullet list or ordered list nodes
  • Styling customizations via props (e.g. text-align)

Requirements

  • Kirby >= 3.6.0
  • php >= 7.4 / 8.0

Installation

Download

Download and copy this repository to /site/plugins/kirby-extended-writer.

Git Submodule

git submodule add https://github.com/coralic/kirby-extended-writer.git site/plugins/kirby-extended-writer

Composer

composer require coralic/kirby-extended-writer

Usage

This plugin adds the mark highlight and the nodes largerParagraph, h1, h2, h3, h4, h5 and h6. You can activate them in the writer field like this:

text:
  label: Text
  type: writer
  marks:
    - bold
    - italic
    - link
    - email
    - highlight
  nodes:
    - h1
    - h2
    - h3
    - largerParagraph
    - bulletList
    - orderedList

Credits

License

MIT License © 2021-2022 Tobias Möritz

统计信息

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

GitHub 信息

  • Stars: 23
  • Watchers: 3
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固