2017 © Pedro PelĂĄez
 

neos-package replacewithshy

Replace || with ­

image

codeq/replacewithshy

Replace || with ­

  • Friday, May 11, 2018
  • by rolandschuetz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 185 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 11 % Grown

The README.md

DEPRECATED IN FAVOR OF carbon/hyphen

Optional word-breaks are hard to enter in Neos CMS. This Neos package provides a helper to replace occurences of || with the Soft hyphen ­., (*1)

Thanks jonnitto for developing this code, which I just packaged., (*2)

Installation

Most of the time you want to use this package within your site package. Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site packages located under Packages/Sites/. To install it correctly go to your theme package (e.g.Packages/Sites/Foo.Bar) and run following command:, (*3)

composer require codeq/replacewithshy --no-update

The --no-update command prevent the automatic update of the dependencies. After the package was added to your theme composer.json, go back to the root of the Neos installation and run composer update. Et voilĂ ! Your desired package is now installed correctly., (*4)

Usage

  1. Install with composer require codeq/ReplaceWithShy, (*5)

  2. Wrap any object with ||with &shy to repalace in its output, e.g. you would probably want to normalize full page output like this:, (*6)

prototype(Page) {
    titleTag.content.@process.shy = CodeQ.ReplaceWithShy:ReplaceWithShy
    body.@process.shy = CodeQ.ReplaceWithShy:ReplaceWithShy
}

License

Licensed under MIT, see LICENSE, (*7)

The Versions

11/05 2018

dev-master

9999999-dev

Replace || with ­

  Sources   Download

MIT

The Requires

 

30/04 2018

1.0.2

1.0.2.0

Replace || with ­

  Sources   Download

MIT

The Requires

 

28/04 2018

1.0.1

1.0.1.0

Replace || with ­

  Sources   Download

MIT

The Requires

 

28/04 2018

v1.0.0

1.0.0.0

Replace || with ­

  Sources   Download

MIT

The Requires