ckeditor1
ckeditor2

This module provides integration of CKEditor's Google Search plugin to Drupal.
This enables Drupal's default WYSIWYG text editor capable of google searching the selected words.

Dependencies

  • CKEditor Module (Core)
  • CKEditor "Google Search" plugin

Install dependencies (Google Search Plugin) via composer

  1. Add ckeditor/googleseacrh repositories to your `composer.json`
  2. "repositories": [
        {
            "type": "package",
            "package": {
                "name": "ckeditor/googlesearch",
                "version": "1.1",
                "type": "drupal-library",
                "dist": {
                    "url": "https://download.ckeditor.com/googlesearch/releases/googlesearch_1.1.zip",
                    "type": "zip"
                }
            }
        }
    ],
    
  3. Execute `composer require ckeditor/googlesearch`
  4. Make sure there is the file `libraries/googlesearch/plugin.js`.

Install dependencies manually

  1. Download the plugin on the project page : https://ckeditor.com/cke4/addon/googlesearch
  2. Create a libraries folder in your drupal root if it doesn't exist
  3. Extract the plugin archive in the librairies folder
  4. Make sure there is the file `libraries/googlesearch/plugin.js`.

How to use

  1. Go to the /admin/config/content/formats
  2. Click on "Configure" button next to text format on which you want to use this plugin
  3. Drag the google search plugin button in your editor active toolbar.
  4. Save and in ckeditor select the portion of text you want to search and then click on button to search(it will open in new tab)
Supporting organizations: 

Project information

Releases