Reference:PreToClip: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 8: Line 8:
|category=Content Structuring
|category=Content Structuring
|docu=https://www.mediawiki.org/wiki/Extension:PreToClip
|docu=https://www.mediawiki.org/wiki/Extension:PreToClip
|features=[[File:VE-computer code.png|thumb|200px|right|alt=Menu item for Computer code|Menu item for Computer code]]The '''PreToClip''' extension adds a "Copy to clipboard" button to every <nowiki><pre></nowiki> tag. <nowiki><pre></nowiki> tags can be generated with the VisualEditor menu item ''Computer code'' or with the [[Manual:Extension/ContentDroplets|ContentDroplet]] ''Code''.
|features=[[File:VE-computer code.png|thumb|200px|right|alt=Menu item for Computer code|Menu item for Computer code]]The '''PreToClip''' extension adds a "Copy to clipboard" button to every <nowiki><code><pre></code></nowiki> tag. <nowiki><code><pre></code></nowiki> tags can be generated with the VisualEditor menu item ''Computer code'' or with the [[Manual:Extension/ContentDroplets|ContentDroplet]] ''Code''.


[[File:Extension PreToClip.png|thumb|450px|center|alt=PreToClip "Copy" button|PreToClip "Copy" button]]
[[File:Extension PreToClip.png|thumb|450px|center|alt=PreToClip "Copy" button|PreToClip "Copy" button]]

Revision as of 08:13, 19 July 2023

Extension: PreToClip

all extensions

Overview
Description: Allows to copy contents of PRE tags into the clipboard
State: stable Dependency: MediaWiki
Developer: Thomas Candrian License: -
Type: MediaWiki Category: Content Structuring
Edition: BlueSpice pro, BlueSpice Farm"BlueSpice Farm" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property., BlueSpice Cloud"BlueSpice Cloud" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property. Version: 4.3+
For more info, visit Mediawiki.

Features

Menu item for Computer code
Menu item for Computer code
The PreToClip extension adds a "Copy to clipboard" button to every <code><pre></code> tag. <code><pre></code> tags can be generated with the VisualEditor menu item Computer code or with the ContentDroplet Code.
PreToClip "Copy" button
PreToClip "Copy" button

This extension is using the JavaScript and Flash from https://github.com/zeroclipboard/ZeroClipboard presented on https://zeroclipboard.github.io/