📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv3.demodesign.com.tr
/
yonetim
/
ckeditor
/
plugins
/
pastefromgdocs
📝
plugin.js
← Geri Dön
/** * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /** * @fileOverview This plugin handles pasting content from Google Docs. */ ( function() { CKEDITOR.plugins.add( 'pastefromgdocs', { requires: 'pastetools', init: function( editor ) { var pasteToolsPath = CKEDITOR.plugins.getPath( 'pastetools' ), path = this.path; editor.pasteTools.register( { filters: [ CKEDITOR.getUrl( pasteToolsPath + 'filter/common.js' ), CKEDITOR.getUrl( path + 'filter/default.js' ) ], canHandle: function( evt ) { var detectGDocsRegex = /id=(\"|\')?docs\-internal\-guid\-/; return detectGDocsRegex.test( evt.data.dataValue ); }, handle: function( evt, next ) { var data = evt.data, gDocsHtml = CKEDITOR.plugins.pastetools.getClipboardData( data, 'text/html' ); // Do not apply the paste filter to data filtered by the the Google Docs filter (https://dev.ckeditor.com/ticket/13093). data.dontFilter = true; data.dataValue = CKEDITOR.pasteFilters.gdocs( gDocsHtml, editor ); if ( editor.config.forcePasteAsPlainText === true ) { // If `config.forcePasteAsPlainText` is set to `true`, force plain text even on Google Docs content (#1013). data.type = 'text'; } next(); } } ); } } ); } )();
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula