Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ckeditor_widget_menu
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
ckeditor_widget_menu
Commits
e2470399
Commit
e2470399
authored
4 years ago
by
Mark Miller
Browse files
Options
Downloads
Patches
Plain Diff
redo the library path
parent
3029f8a3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-3
3 additions, 3 deletions
README.md
src/Plugin/CKEditorPlugin/CKEditorWidgetMenu.php
+3
-3
3 additions, 3 deletions
src/Plugin/CKEditorPlugin/CKEditorWidgetMenu.php
with
6 additions
and
6 deletions
README.md
+
3
−
3
View file @
e2470399
...
...
@@ -24,9 +24,9 @@ https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-modules
for further information.
Download the https://www.npmjs.com/package/ckeditor-widgetmenu into your
projects root
`/libraries`
directory.
Verify
that the
package path is correct by
locating the following
`plugin.js`
file at
`/libraries/
ckeditor_
widgetmenu/plugin.js`
projects root
`/libraries`
directory.
Ensure
that the
directory is named
`widget_menu`
. Verify that the package path is correct by
locating the following
`plugin.js`
file at
`/libraries/widget
_
menu/plugin.js`
CONFIGURATION
...
...
This diff is collapsed.
Click to expand it.
src/Plugin/CKEditorPlugin/CKEditorWidgetMenu.php
+
3
−
3
View file @
e2470399
<?php
namespace
Drupal\ck_widget_menu\Plugin\CKEditorPlugin
;
namespace
Drupal\ck
editor
_widget_menu\Plugin\CKEditorPlugin
;
use
Drupal\ckeditor\CKEditorPluginBase
;
use
Drupal\editor\Entity\Editor
;
...
...
@@ -25,7 +25,7 @@ class CKEditorWidgetMenu extends CKEditorPluginBase {
public
function
getButtons
()
{
return
[
'widget_menu'
=>
[
'image'
=>
base_path
()
.
'libraries/
ckeditor_
widgetmenu/icons/widget_menu.png'
,
'image'
=>
base_path
()
.
'libraries/widget
_
menu/icons/widget_menu.png'
,
'label'
=>
$this
->
t
(
'Widget Menu'
),
],
];
...
...
@@ -35,7 +35,7 @@ class CKEditorWidgetMenu extends CKEditorPluginBase {
* {@inheritdoc}
*/
public
function
getFile
()
{
return
'libraries/
ckeditor_
widgetmenu/plugin.js'
;
return
'libraries/widget
_
menu/plugin.js'
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment