web/assets/libs/ckeditor/4.6.7/plugins/dialog/dialogDefinition.js
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
// jscs:disable disallowMixedSpacesAndTabs
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the "virtual" dialog, dialog content and dialog button
* definition classes.
*/
/**
* The definition of a dialog window.
*
* This class is not really part of the API. It just illustrates the properties
* that developers can use to define and create dialogs.
*
* // There is no constructor for this class, the user just has to define an
* // object with the appropriate properties.
*
* CKEDITOR.dialog.add( 'testOnly', function( editor ) {
* return {
* title: 'Test Dialog',
* resizable: CKEDITOR.DIALOG_RESIZE_BOTH,
* minWidth: 500,
* minHeight: 400,
* contents: [
* {
* id: 'tab1',
* label: 'First Tab',
* title: 'First Tab Title',
* accessKey: 'Q',
* elements: [
* {
* type: 'text',
* label: 'Test Text 1',
* id: 'testText1',
* 'default': 'hello world!'
* }
* ]
* }
* ]
* };
* } );
*
* @class CKEDITOR.dialog.definition
*/
/**
* The dialog title, displayed in the dialog's header. Required.
*
* @property {String} title
*/
/**
* How the dialog can be resized, must be one of the four contents defined below.
*
* * {@link CKEDITOR#DIALOG_RESIZE_NONE}
* * {@link CKEDITOR#DIALOG_RESIZE_WIDTH}
* * {@link CKEDITOR#DIALOG_RESIZE_HEIGHT}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。