GithubHelp home page GithubHelp logo

onlyoffice / plugin-typograf Goto Github PK

View Code? Open in Web Editor NEW
3.0 20.0 3.0 354 KB

Plugin to correct typography within ONLYOFFICE Docs

Home Page: https://www.onlyoffice.com

License: Apache License 2.0

HTML 83.24% JavaScript 16.76%
onlyoffice onlyoffice-plugins

plugin-typograf's Introduction

Information

This repository is an archive of plugin-typograf. Now it moved to the marketplace repository onlyoffice.github.io.

Overview

The Typograf plugin allows preparing your text for publishing by correcting typography. It helps automatically place non-breaking spaces, remove extra spaces, correct minor typos, insert correct quotes, replace hyphens with dashes, and much more.

The plugin is based on JavaScript Typograf.

Supported languages are listed here.

Typograf is compatible with self-hosted and desktop versions of ONLYOFFICE editors. It can be added to ONLYOFFICE instances manually.

How to use

  1. Find Typograf in the Plugins tab. Click on it.
  2. Choose the locale and the rules you want to apply to your text.
  3. Select the text you want to correct.
  4. Click the Correct text button.

How to install

Detailed instructions can be found in ONLYOFFICE API documentation.

Known issues

  • When using the plugin on a document abstract with graphic objects, those objects (images, shapes, Text Arts, Text Boxes, tables, charts) are lost along with text they contained.
  • If you select the text inside the graphic object, the text will be removed from the object and inserted into the document in the corrected form.
  • Graphic formulas are converted to strings.
  • Drop caps, content controls, hyperlinks, underlays, footnotes, bookmarks, caption, tables of contents are removed.
  • If at least part of the text is split into columns, then the columns will be applied to the entire document.
  • Breaks are not saved.
  • Changes suggested using Track Changes are not saved.
  • If the plugin is used with Track Changes mode on, the corrected text will be inserted as a suggested change.
  • Comments are not saved, except for comments to the whole document.
  • Headers and footers remain unchanged if the entire document is selected.
  • If header/footer content is selected, graphic objects it contained are lost.
  • Line numbering is saved if it is applied to the entire document. If it was applied to a section, then it will be lost along with the section.
  • When two or more paragraphs have been selected, an empty paragraph will be added after the corrected text.

User feedback and support

To ask questions and share feedback, use Issues in this repository.

plugin-typograf's People

Contributors

alexeymatveev686 avatar catbasilio avatar danilapog avatar hellonadya avatar khromovnikita avatar trofim24 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.