Skip to content
Snippets Groups Projects
Commit 89fb11b4 authored by Michael Lee's avatar Michael Lee
Browse files

Merge branch 'anchor_link' into lee5151

parents 5e7fa5d0 1930a42a
No related branches found
No related tags found
No related merge requests found
Showing
with 69 additions and 80 deletions
......@@ -1891,17 +1891,17 @@
},
{
"name": "drupal/anchor_link",
"version": "1.7.0",
"version": "1.9.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/anchor_link.git",
"reference": "8.x-1.7"
"reference": "8.x-1.9"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/anchor_link-8.x-1.7.zip",
"reference": "8.x-1.7",
"shasum": "625c209245779377beede4d6eb7f87c7eac75dd0"
"url": "https://ftp.drupal.org/files/projects/anchor_link-8.x-1.9.zip",
"reference": "8.x-1.9",
"shasum": "48d343f29dc034bf2deb7de858498fb80d558ca8"
},
"require": {
"drupal/core": "^8 || ^9"
......@@ -1909,8 +1909,8 @@
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.7",
"datestamp": "1582013628",
"version": "8.x-1.9",
"datestamp": "1643826959",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
......@@ -1927,11 +1927,11 @@
"homepage": "https://www.drupal.org/user/255384"
},
{
"name": "RajabNatshah",
"name": "Rajab Natshah",
"homepage": "https://www.drupal.org/user/1414312"
}
],
"description": "This plugin module adds the better link dialog and anchor related features to CKEditor in Drupal 8",
"description": "This plugin module adds the better link dialog and anchor related features to CKEditor in Drupal 9",
"homepage": "https://www.drupal.org/project/anchor_link",
"support": {
"source": "https://git.drupalcode.org/project/anchor_link"
......
......@@ -1937,30 +1937,27 @@
},
{
"name": "drupal/anchor_link",
"version": "1.7.0",
"version_normalized": "1.7.0.0",
"version": "1.9.0",
"version_normalized": "1.9.0.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/anchor_link.git",
"reference": "8.x-1.7"
"reference": "8.x-1.9"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/anchor_link-8.x-1.7.zip",
"reference": "8.x-1.7",
"shasum": "625c209245779377beede4d6eb7f87c7eac75dd0"
"url": "https://ftp.drupal.org/files/projects/anchor_link-8.x-1.9.zip",
"reference": "8.x-1.9",
"shasum": "48d343f29dc034bf2deb7de858498fb80d558ca8"
},
"require": {
"drupal/core": "^8 || ^9"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-1.x": "1.x-dev"
},
"drupal": {
"version": "8.x-1.7",
"datestamp": "1582013628",
"version": "8.x-1.9",
"datestamp": "1643826959",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
......@@ -1978,11 +1975,11 @@
"homepage": "https://www.drupal.org/user/255384"
},
{
"name": "RajabNatshah",
"name": "Rajab Natshah",
"homepage": "https://www.drupal.org/user/1414312"
}
],
"description": "This plugin module adds the better link dialog and anchor related features to CKEditor in Drupal 8",
"description": "This plugin module adds the better link dialog and anchor related features to CKEditor in Drupal 9",
"homepage": "https://www.drupal.org/project/anchor_link",
"support": {
"source": "https://git.drupalcode.org/project/anchor_link"
......
......@@ -317,12 +317,12 @@
'dev_requirement' => false,
),
'drupal/anchor_link' => array(
'pretty_version' => '1.7.0',
'version' => '1.7.0.0',
'pretty_version' => '1.9.0',
'version' => '1.9.0.0',
'type' => 'drupal-module',
'install_path' => __DIR__ . '/../../web/modules/anchor_link',
'aliases' => array(),
'reference' => '8.x-1.7',
'reference' => '8.x-1.9',
'dev_requirement' => false,
),
'drupal/automated_cron' => array(
......
......@@ -2,11 +2,17 @@ CKEditor Anchor Link
--------------------------------------------------------------------------------
This plugin module adds the better link dialog and anchor related features
to CKEditor in Drupal 8:
to CKEditor in Drupal 9:
- Dialog to insert links and anchors with some properties.
- Context menu option to edit or remove links and anchors.
- Ability to insert a link with the URL using multiple protocols, including an
external file if a file manager is integrated.
Most text formats limit HTML tags. If this is the case, it will
be necessary to whitelist the "name" attribute on the "a" element.
E.g. `<a name href hreflang>`
http://ckeditor.com/addon/link
name: 'CKEditor Anchor Link'
type: module
description: 'This plugin module adds the better link dialog and anchor related features to CKEditor in Drupal 8'
core: 8.x
description: 'This plugin module adds the better link dialog and anchor related features to CKEditor in Drupal 9'
package: CKEditor
# project: anchor_link
core_version_requirement: ^8 || ^9
dependencies:
- drupal:ckeditor
- drupal:editor
# Information added by Drupal.org packaging script on 2020-02-16
version: '8.x-1.7'
# Information added by Drupal.org packaging script on 2022-02-02
version: '8.x-1.9'
project: 'anchor_link'
datestamp: 1581868108
datestamp: 1643826963
......@@ -16,7 +16,7 @@ function anchor_link_help($route_name, RouteMatchInterface $route_match) {
case 'help.page.anchor_link':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('This plugin module adds the better link dialog and anchor related features to CKEditor in Drupal 8') . '</p>';
$output .= '<p>' . t('This plugin module adds the better link dialog and anchor related features to CKEditor in Drupal 9') . '</p>';
$output .= '<p><ul>';
$output .= ' <li>Dialog to insert links and anchors with some properties.</li>';
$output .= ' <li>Context menu option to edit or remove links and anchors.</li>';
......@@ -42,5 +42,7 @@ function anchor_link_theme() {
* Implements hook_page_attachments().
*/
function anchor_link_page_attachments(array &$attachments) {
$attachments['#attached']['library'][] = 'anchor_link/drupal.anchor_link';
if (\Drupal::currentUser()->isAuthenticated()) {
$attachments['#attached']['library'][] = 'anchor_link/drupal.anchor_link';
}
}
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'af', {
anchor: 'Anker',
flash: 'Flash animasie',
hiddenfield: 'Verborge veld',
iframe: 'IFrame',
unknown: 'Onbekende objek'
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ar', {
anchor: 'إرساء',
flash: 'رسم متحرك بالفلاش',
hiddenfield: 'إدراج حقل خفي',
iframe: 'iframe',
unknown: 'عنصر غير معروف'
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'az', {
anchor: 'Lövbər',
flash: 'Flash animasiya',
hiddenfield: 'Gizli xana',
iframe: 'IFrame',
unknown: 'Tanımamış obyekt'
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'bg', {
anchor: 'Кука',
flash: 'Флаш анимация',
hiddenfield: 'Скрито поле',
iframe: 'IFrame',
unknown: 'Неизвестен обект'
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'bn', {
anchor: 'Anchor', // MISSING
flash: 'Flash Animation', // MISSING
hiddenfield: 'Hidden Field', // MISSING
iframe: 'IFrame', // MISSING
unknown: 'Unknown Object' // MISSING
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'bs', {
anchor: 'Anchor',
flash: 'Flash Animation', // MISSING
hiddenfield: 'Hidden Field', // MISSING
iframe: 'IFrame', // MISSING
unknown: 'Unknown Object' // MISSING
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'ca', {
anchor: 'Àncora',
flash: 'Animació Flash',
hiddenfield: 'Camp ocult',
iframe: 'IFrame',
unknown: 'Objecte desconegut'
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'cs', {
anchor: 'Záložka',
flash: 'Flash animace',
hiddenfield: 'Skryté pole',
iframe: 'IFrame',
unknown: 'Neznámý objekt'
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'cy', {
anchor: 'Angor',
flash: 'Animeiddiant Flash',
hiddenfield: 'Maes Cudd',
iframe: 'IFrame',
unknown: 'Gwrthrych Anhysbys'
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'da', {
anchor: 'Anker',
flash: 'Flashanimation',
hiddenfield: 'Skjult felt',
iframe: 'Iframe',
unknown: 'Ukendt objekt'
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'de-ch', {
anchor: 'Anker',
flash: 'Flash-Animation',
hiddenfield: 'Verstecktes Feld',
iframe: 'IFrame',
unknown: 'Unbekanntes Objekt'
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'de', {
anchor: 'Anker',
flash: 'Flash-Animation',
hiddenfield: 'Verstecktes Feld',
iframe: 'IFrame',
unknown: 'Unbekanntes Objekt'
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'el', {
anchor: 'Άγκυρα',
flash: 'Ταινία Flash',
hiddenfield: 'Κρυφό Πεδίο',
iframe: 'IFrame',
unknown: 'Άγνωστο Αντικείμενο'
......
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'en-au', {
anchor: 'Anchor', // MISSING
flash: 'Flash Animation', // MISSING
hiddenfield: 'Hidden Field', // MISSING
iframe: 'IFrame', // MISSING
unknown: 'Unknown Object' // MISSING
anchor: 'Anchor',
hiddenfield: 'Hidden Field',
iframe: 'IFrame',
unknown: 'Unknown Object'
} );
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment