Skip to content

Commit

Permalink
Prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronef committed Jul 7, 2024
1 parent cde5c1b commit 2c2fc4f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# (MODX)EvolutionCMS.snippets.ddTypograph changelog


## Version 2.7 (2024-07-07)
* \+ You can turn off typography for a text fragment aslo by using the `<span class="notg"></span>` tag.


## Version 2.6.1 (2023-08-23)
* \* TinyMCE empty lines (`<p>&nbsp;</p>`) are no longer modified.

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG_ru.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# (MODX)EvolutionCMS.snippets.ddTypograph changelog


## Версия 2.7 (2024-07-07)
* \+ Вы можете отключить типографирование какого-то фрагмента текста также с помощью тега `<span class="notg"></span>`.


## Версия 2.6.1 (2023-08-23)
* \* Пустые строки TinyMCE (`<p>&nbsp;</p>`) больше не изменяются.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ require_once(
#### 1. Elements → Snippets: Create a new snippet with the following data

1. Snippet name: `ddTypograph`.
2. Description: `<b>2.6.1</b> Snippet for text typography. The snippet doesn’t use third-party services, also it sends no requests. In other words, everything is performed on your server.`.
2. Description: `<b>2.7</b> Snippet for text typography. The snippet doesn’t use third-party services, also it sends no requests. In other words, everything is performed on your server.`.
3. Category: `Core`.
4. Parse DocBlock: `no`.
5. Snippet code (php): Insert content of the `ddTypograph_snippet.php` file from the archive.
Expand Down
2 changes: 1 addition & 1 deletion README_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ require_once(
#### 1. Элементы → Сниппеты: Создайте новый сниппет со следующими параметрами

1. Название сниппета: `ddTypograph`.
2. Описание: `<b>2.6.1</b> Сниппет типографирует текст. Не использует сторонних сервисов, не отправляет никаких запросов, всё делается прямо у вас на сервере.`.
2. Описание: `<b>2.7</b> Сниппет типографирует текст. Не использует сторонних сервисов, не отправляет никаких запросов, всё делается прямо у вас на сервере.`.
3. Категория: `Core`.
4. Анализировать DocBlock: `no`.
5. Код сниппета (php): Вставьте содержимое файла `ddTypograph_snippet.php` из архива.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dd/evolutioncms-snippets-ddtypograph",
"type": "modxevo-snippet",
"version": "2.6.1",
"version": "2.7.0",
"description": "Snippet for text typography. The snippet doesn't use third-party services, also it sends no requests. In other words, everything is performed on your server.",
"keywords": [
"modx",
Expand Down
4 changes: 2 additions & 2 deletions ddTypograph_snippet.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* ddTypograph
* @version 2.6.1 (2023-08-23)
* @version 2.7 (2024-07-07)
*
* @see README.md
*
* @link https://code.divandesign.ru/modx/ddtypograph
*
* @copyright 2010–2023 Ronef {@link https://Ronef.ru }
* @copyright 2010–2024 Ronef {@link https://Ronef.ru }
*/

//Include (MODX)EvolutionCMS.libraries.ddTools
Expand Down
2 changes: 1 addition & 1 deletion src/Snippet.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class Snippet extends \DDTools\Snippet {
protected
$version = '2.6.1',
$version = '2.7.0',

$params = [
//Defaults
Expand Down

0 comments on commit 2c2fc4f

Please sign in to comment.