Position: Home page » Blockchain » Forest blockchain

Forest blockchain

Publish: 2021-05-26 08:56:55
1. Government management
some countries have shown great interest in the blockchain technology of decentralized data management framework to store public data. For example, essentia is developing an e-government project with the Central Union of agricultural procers and forest owners in Finland, The project will apply blockchain technology to enable urban and rural residents in Finland to query various records, fully meet the needs of residents and employers, and improve the employment rate. In addition, the use of this technology can also improve the efficiency of government operation, so that residents can easily query ecation, public records, voting and other information
waste recycling
for example, an intelligent waste management system in China adopts the RFID technology of waltonchain company. Using this blockchain application of waltonchain, it can effectively monitor the waste level, so as to improve the management and operation efficiency and resource optimization
identity recognition
chug, a Swiss city known as "encryption Valley", has developed an identity authentication system with its partner uport by using blockchain technology, through which citizens can participate in online voting and proof of residence
border control
essentia has been in contact with the Dutch government, hoping to use its blockchain technology to establish a set of border inspection system for the Dutch government to check passengers between Amsterdam and London. At present, passengers of Eurostar high-speed rail between the two countries need to undergo border control checks at multiple locations. Essentia is working on a blockchain based solution that will securely store passenger data so that inspection records from the Netherlands can also be reviewed by UK Border agencies. Blockchain technology will ensure that the data has not been tampered with and is verifiable and accurate
health care
as we all know, medical records are very scattered and prone to errors. Inconsistent data processing process will make hospitals and clinics often forced to deal with some incorrect or incomplete patient records. For example, Medrec, a blockchain electronic medical record system developed by MIT, uses blockchain technology to promote data sharing. At the same time, it can also provide authentication and confidentiality services
enterprise management
as enterprise customers of Microsoft azure applications, they can make use of blockchain as a service (baas), which will enable enterprises to access smart contracts and blockchain applications in a secure hosting environment. According to media reports, Google is also developing a proprietary blockchain project to support its cloud based business. And alpha, Google's parent company, is developing a distributed accounting project that third parties will be able to use to store data related to Google's cloud services
medical data
medical centers that digitize patient records do not store data among multiple devices. They usually store data on centralized servers, which has become the main target of hackers. The wannacry attack on NHS hospital in the UK proves this. But in addition, even if the security risk is ignored, there is still the problem of fragmentation. At present, there are more than 50 different electronic medical record systems (EHR) operating in hospitals in different cities around the world, and there are usually dozens of different medical application systems in the same city. These independent systems can't perform interoperation, and the data of patients in each hospital can only be distributed in different data storage centers
in the case of patients' life and death, the lack of reliable medical data contrast and slow operation efficiency will be fatal. Essentia's application framework solves all these problems by using blockchain based system, which will store all clinical data of patients, and can access these data immediately regardless of geographical boundaries. In this system, the patient's medical record privacy can also be protected, and only the authorized medical personnel can access it in a specific period of time
Music Proction
one of the main advantages of blockchain technology is that it eliminates unnecessary middlemen or middlemen. The music instry is a typical example. In this instry, if artists are inefficient, they will get very low remuneration. At this time, a number of blockchain based projects have emerged to seek a fairer trading and business environment for music creators, such as artbit, a former gunshot rose drummer Matt Soren as director
carbon compensation
as a highly instrialized country, China's environmental change is huge. In March 2017, IBM and energy blockchain labs jointly launched the hyperledger fabric blockchain project to discover China's carbon assets, which not only creates a measurable and auditable system for tracking carbon emissions, but also provides a tradable market for companies seeking to offset energy consumption and stimulate green instrial practice
supply chain management
supply chain management is considered to be one of the better cases of applying blockchain, because it is very suitable for the express delivery of such goods from delivery to receipt or the whole process from manufacturer to store. IBM and Wal Mart have jointly launched a blockchain food safety alliance in China. The project is also jointly operated with Jingdong company, aiming to improve food delivery tracking and safety assurance, so as to make it easier to trace food safety issues
facts have proved that China is a mature experimental base for blockchain projects, and it is also the location of the world's first blockchain for agricultural procts (5.180, - 0.25, - 4.60%). Louis Dreyfus Co, a world-famous food trader, has established a blockchain technology project in cooperation with Dutch and French banks. Using this project technology, the transaction settlement is faster than traditional methods in the process of selling soybeans to China
diamond instry
De Beers Group, the world's most famous diamond company, has its own blockchain company and has started operation. Its purpose is to "establish a digital record for every diamond registered on the platform". Considering the origin of diamonds, the ethical standards of origin, and the risk of diamond quality, blockchain technology is a good choice, because every record of it is indelible, and it will ensure that the electronic data of each diamond is as permanent as itself
real estate transactions
currently, Ukraine is the first country to use blockchain technology to promote property transactions. Michael Arlington, the founder of techcrunch, a famous technology website and cryptocurrency player, remotely purchased and resold a real estate in Kiev through the smart contract of Ethereum blockchain. This transaction was completed by propy, a start-up company specializing in blockchain real estate transactions
fisheries
blockchain technology is now being used to support the development of sustainable fisheries. Illegal fishing is a common problem in this instry. The distributed ledger technology of blockchain provides a proof of the capture source, processing and sale mode. This "net to table" supply chain allows inspectors to determine whether the fish caught came from a human rights violation area or from a country affected by economic sanctions
art paintings
similar to diamond trading, the art instry relies on the provenance and authenticity of art works. Although the blockchain cannot identify whether a painting is an original or a fake, it can be used to prove the identity of the previous owner of the painting. In addition, blockchain technology is now also used as a means to obtain works of art. It can make tangible goods easily traded and exchanged anywhere in the world without physical transfer from a secure storage place
public facilities
in Freemantle, Australia, a project dedicated to distributed energy and water system management is using blockchain technology, and solar panels (3.340, - 0.06, - 1.76%) are being used in sunny areas to obtain electricity, which is then used to heat water and provide electricity, All these energy conversion and use information will be recorded in the blockchain data
in Chile, the National Energy Commission has started to use the blockchain technology as the verification of the country's energy use data, and some sensitive data will be stored in the blockchain. The application of this technology can be regarded as a means for the modernization and safe operation of power infrastructure in this South American country
LGBT rights
blockchain can help build a "pink economy" and help LGBT communities fight for their own rights without revealing people's identities. This is an extremely important issue, because crimes of discrimination against homosexual groups often occur, especially in countries notorious for human rights violations, Homosexuality is illegal, or at least not allowed
catastrophe bonds
catastrophe bonds may be the only hope for victims of earthquakes, tsunamis and other natural disasters. Blockchain allows fast and transparent reconciliation between the parties, and can ensure that the system can continue to operate normally even under unmanned operation. Now, blockchain has been successfully used in the settlement mechanism of catastrophe bonds
tourism
local institutions in Hawaii are studying how to use blockchain technology to improve the economy, such as opening bitcoin and other monetary payment means to facilitate tourists' transaction of local goods and services. In this way, the Hawaiian government hopes to attract tourists, especially those from Asia, to spend more money in the local area and improve the economic development of Hawaii
homeland security
in 2016, the US Department of Homeland Security (DHS) announced a project that will use blockchain technology as a means of secure storage and capture of data transmission. DHS uses Factom's blockchain technology to encrypt and store data captured by security cameras and other sensors. The application of this blockchain technology will greatly rece the risk of data leakage. At present, the project is still in progress
maritime transportation
it is self-evident that blockchain is used to record ship transportation data. At present, some local shipping projects have adopted distributed ledger technology. In the maritime logistics instry, blockchain technology can make the inevitable cumbersome management proceres in international trade more transparent and orderly. Maersk, one of the world's largest shippers, is a pioneer in the use of blockchain. Today, Yixing international shipping company Zim has also made follow-up use of blockchain technology.
2. 一、使用方法:
1、在页面<head>中引入ckeditor核心文件ckeditor.js
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>

2、在使用编辑器的地方插入HTML控件<textarea>
<textarea id="TextArea1" cols="20" rows="2" class="ckeditor"></textarea>
如果是ASP.NET环境,也可用服务器端控件<TextBox>
<asp:TextBox ID="tbContent" runat="server" TextMode="MultiLine" class="ckeditor"></asp:TextBox>
注意在控件中加上 class="ckeditor"

3、将相应的控件替换成编辑器代码
<script type="text/javascript">
CKEDITOR.replace('TextArea1');
//如果是在ASP.NET环境下用的服务器端控 件<TextBox>
CKEDITOR.replace('tbContent');
//如 果<TextBox>控件在母版页中,要这样写
CKEDITOR.replace('<%=tbContent.ClientID.Replace("_","$") %>');
</script>

4、配置编辑器

ckeditor的配置都集中在 ckeditor/config.js 文件中,下面是一些常用的配置参数:
// 界面语言,默认为 'en'
config.language = 'zh-cn';
// 设置宽高
config.width = 400;
config.height = 400;
// 编辑器样式,有三种:'kama'默认、'office2003'、'v2'
config.skin = 'v2';
// 背景颜色
config.uiColor = '#FFF';
// 工具栏基础'Basic'、全能'Full'、自定义plugins/toolbar/plugin.js
config.toolbar = 'Basic';
config.toolbar = 'Full';
这将配合:
config.toolbar_Full = [
['Source','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
'/',
['Styles','Format','Font','FontSize'],
['TextColor','BGColor']
];
//工具栏是否可以被收缩
config.toolbarCanCollapse = true;
//工具栏的位置
config.toolbarLocation = 'top';//可选:bottom
//工具栏默认是否展开
config.toolbarStartupExpanded = true;
// 取消 “拖拽以改变尺寸”功能 plugins/resize/plugin.js
config.resize_enabled = false;
//改变大小的最大高度
config.resize_maxHeight = 3000;
//改变大小的最大宽度
config.resize_maxWidth = 3000;
//改变大小的最小高度
config.resize_minHeight = 250;
//改变大小的最小宽度
config.resize_minWidth = 750;
// 当提交包含有此编辑器的表单时,是否自动更新元素内的数据
config.autoUpdateElement = true;
// 设置是使用绝对目录还是相对目录,为空为相对目录
config.baseHref = ''
// 编辑器的z-index值
config.baseFloatZIndex = 10000;
//设置快捷键
config.keystrokes = [
[ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ], //获取焦点
[ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ], //元素焦点
[ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ], //文本菜单
[ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ], //撤销
[ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ], //重做
[ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ], //
[ CKEDITOR.CTRL + 76 /*L*/, 'link' ], //链接
[ CKEDITOR.CTRL + 66 /*B*/, 'bold' ], //粗体
[ CKEDITOR.CTRL + 73 /*I*/, 'italic' ], //斜体
[ CKEDITOR.CTRL + 85 /*U*/, 'underline' ], //下划线
[ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]
]
//设置快捷键 可能与浏览器快捷键冲突 plugins/keystrokes/plugin.js.
config.blockedKeystrokes = [
CKEDITOR.CTRL + 66 /*B*/,
CKEDITOR.CTRL + 73 /*I*/,
CKEDITOR.CTRL + 85 /*U*/
]
//设置编辑内元素的背景色的取值 plugins/colorbutton/plugin.js.
config.colorButton_backStyle = {
element : 'span',
styles : { 'background-color' : '#(color)' }
}
//设置前景色的取值 plugins/colorbutton/plugin.js
config.colorButton_colors = '000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,
006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,
A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,
FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF’

//是否在选择颜色时显示“其它颜色”选项 plugins/colorbutton/plugin.js
config.colorButton_enableMore = false
//区块的前景色默认值设置 plugins/colorbutton/plugin.js
config.colorButton_foreStyle = {
element : 'span',
styles : { 'color' : '#(color)' }
};
//所需要添加的CSS文件 在此添加 可使用相对路径和网站的绝对路径
config.contentsCss = './contents.css';
//文字方向
config.contentsLangDirection = 'rtl'; //从左到右
//CKeditor的配置文件 若不想配置 留空即可
CKEDITOR.replace( 'myfiled', { customConfig : './config.js' } );
//界面编辑框的背景色 plugins/dialog/plugin.js
config.dialog_backgroundCoverColor = '#fffefd'; //可设置参考
config.dialog_backgroundCoverColor = 'white' //默认
//背景的不透明度 数值应该在:0.0~1.0 之间 plugins/dialog/plugin.js
config.dialog_backgroundCoverOpacity = 0.5
//移动或者改变元素时 边框的吸附距离 单位:像素 plugins/dialog/plugin.js
config.dialog_magnetDistance = 20;
//是否拒绝本地拼写检查和提示 默认为拒绝 目前仅firefox和safari支持 plugins/wysiwygarea/plugin.js.
config.disableNativeSpellChecker = true
//进行表格编辑功能 如:添加行或列 目前仅firefox支持 plugins/wysiwygarea/plugin.js
config.disableNativeTableHandles = true; //默认为不开启
//是否开启 图片和表格 的改变大小的功能 config.disableObjectResizing = true;
config.disableObjectResizing = false //默认为开启
//设置HTML文档类型
config.docType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd%22' ;

//是否对编辑区域进行渲染 plugins/editingblock/plugin.js
config.editingBlock = true;
//编辑器中回车产生的标签
config.enterMode = CKEDITOR.ENTER_P; //可选:CKEDITOR.ENTER_BR或CKEDITOR.ENTER_DIV
//是否使用HTML实体进行输出 plugins/entities/plugin.js
config.entities = true;
//定义更多的实体 plugins/entities/plugin.js
config.entities_additional = '#39'; //其中#代替了&
//是否转换一些难以显示的字符为相应的HTML字符 plugins/entities/plugin.js
//默认的字体名 plugins/font/plugin.js
config.font_defaultLabel = 'Arial';
//字体编辑时的字符集 可以添加常用的中文字符:宋体、楷体、黑体等 plugins/font/plugin.js
config.font_names = 'Arial;Times New Roman;Verdana';
//文字的默认式样 plugins/font/plugin.js
config.font_style = {
element : 'span',
styles : { 'font-family' : '#(family)' },
overrides : [ { element : 'font', attributes : { 'face' : null } } ]
};
//字体默认大小 plugins/font/plugin.js
config.fontSize_defaultLabel = '12px';
//字体编辑时可选的字体大小 plugins/font/plugin.js
config.fontSize_sizes ='8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px'
//设置字体大小时 使用的式样 plugins/font/plugin.js
config.fontSize_style = {
element : 'span',
styles : { 'font-size' : '#(size)' },
overrides : [ { element : 'font', attributes : { 'size' : null } } ]
};
//是否强制复制来的内容去除格式 plugins/pastetext/plugin.js
config.forceP
3. 一、使用方法:
1、在页面<head>中引入ckeditor核心文件ckeditor.js
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>

2、在使用编辑器的地方插入HTML控件<textarea>
<textarea id="TextArea1" cols="20" rows="2" class="ckeditor"></textarea>
如果是ASP.NET环境,也可用服务器端控件<TextBox>
<asp:TextBox ID="tbContent" runat="server" TextMode="MultiLine" class="ckeditor"></asp:TextBox>
注意在控件中加上 class="ckeditor"

3、将相应的控件替换成编辑器代码
<script type="text/javascript">
CKEDITOR.replace('TextArea1');
//如果是在ASP.NET环境下用的服务器端控 件<TextBox>
CKEDITOR.replace('tbContent');
//如 果<TextBox>控件在母版页中,要这样写
CKEDITOR.replace('<%=tbContent.ClientID.Replace("_","$") %>');
</script>

4、配置编辑器

ckeditor的配置都集中在 ckeditor/config.js 文件中,下面是一些常用的配置参数:
// 界面语言,默认为 'en'
config.language = 'zh-cn';
// 设置宽高
config.width = 400;
config.height = 400;
// 编辑器样式,有三种:'kama'默认、'office2003'、'v2'
config.skin = 'v2';
// 背景颜色
config.uiColor = '#FFF';
// 工具栏基础'Basic'、全能'Full'、自定义plugins/toolbar/plugin.js
config.toolbar = 'Basic';
config.toolbar = 'Full';
这将配合:
config.toolbar_Full = [
['Source','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
'/',
['Styles','Format','Font','FontSize'],
['TextColor','BGColor']
];
//工具栏是否可以被收缩
config.toolbarCanCollapse = true;
//工具栏的位置
config.toolbarLocation = 'top';//可选:bottom
//工具栏默认是否展开
config.toolbarStartupExpanded = true;
// 取消 “拖拽以改变尺寸”功能 plugins/resize/plugin.js
config.resize_enabled = false;
//改变大小的最大高度
config.resize_maxHeight = 3000;
//改变大小的最大宽度
config.resize_maxWidth = 3000;
//改变大小的最小高度
config.resize_minHeight = 250;
//改变大小的最小宽度
config.resize_minWidth = 750;
// 当提交包含有此编辑器的表单时,是否自动更新元素内的数据
config.autoUpdateElement = true;
// 设置是使用绝对目录还是相对目录,为空为相对目录
config.baseHref = ''
// 编辑器的z-index值
config.baseFloatZIndex = 10000;
//设置快捷键
config.keystrokes = [
[ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ], //获取焦点
[ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ], //元素焦点
[ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ], //文本菜单
[ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ], //撤销
[ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ], //重做
[ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ], //
[ CKEDITOR.CTRL + 76 /*L*/, 'link' ], //链接
[ CKEDITOR.CTRL + 66 /*B*/, 'bold' ], //粗体
[ CKEDITOR.CTRL + 73 /*I*/, 'italic' ], //斜体
[ CKEDITOR.CTRL + 85 /*U*/, 'underline' ], //下划线
[ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]
]
//设置快捷键 可能与浏览器快捷键冲突 plugins/keystrokes/plugin.js.
config.blockedKeystrokes = [
CKEDITOR.CTRL + 66 /*B*/,
CKEDITOR.CTRL + 73 /*I*/,
CKEDITOR.CTRL + 85 /*U*/
]
//设置编辑内元素的背景色的取值 plugins/colorbutton/plugin.js.
config.colorButton_backStyle = {
element : 'span',
styles : { 'background-color' : '#(color)' }
}
//设置前景色的取值 plugins/colorbutton/plugin.js
config.colorButton_colors = '000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,
006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,
A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,
FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF’

//是否在选择颜色时显示“其它颜色”选项 plugins/colorbutton/plugin.js
config.colorButton_enableMore = false
//区块的前景色默认值设置 plugins/colorbutton/plugin.js
config.colorButton_foreStyle = {
element : 'span',
styles : { 'color' : '#(color)' }
};
//所需要添加的CSS文件 在此添加 可使用相对路径和网站的绝对路径
config.contentsCss = './contents.css';
//文字方向
config.contentsLangDirection = 'rtl'; //从左到右
//CKeditor的配置文件 若不想配置 留空即可
CKEDITOR.replace( 'myfiled', { customConfig : './config.js' } );
//界面编辑框的背景色 plugins/dialog/plugin.js
config.dialog_backgroundCoverColor = '#fffefd'; //可设置参考
config.dialog_backgroundCoverColor = 'white' //默认
//背景的不透明度 数值应该在:0.0~1.0 之间 plugins/dialog/plugin.js
config.dialog_backgroundCoverOpacity = 0.5
//移动或者改变元素时 边框的吸附距离 单位:像素 plugins/dialog/plugin.js
config.dialog_magnetDistance = 20;
//是否拒绝本地拼写检查和提示 默认为拒绝 目前仅firefox和safari支持 plugins/wysiwygarea/plugin.js.
config.disableNativeSpellChecker = true
//进行表格编辑功能 如:添加行或列 目前仅firefox支持 plugins/wysiwygarea/plugin.js
config.disableNativeTableHandles = true; //默认为不开启
//是否开启 图片和表格 的改变大小的功能 config.disableObjectResizing = true;
config.disableObjectResizing = false //默认为开启
//设置HTML文档类型
config.docType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd%22' ;

//是否对编辑区域进行渲染 plugins/editingblock/plugin.js
config.editingBlock = true;
//编辑器中回车产生的标签
config.enterMode = CKEDITOR.ENTER_P; //可选:CKEDITOR.ENTER_BR或CKEDITOR.ENTER_DIV
//是否使用HTML实体进行输出 plugins/entities/plugin.js
config.entities = true;
//定义更多的实体 plugins/entities/plugin.js
config.entities_additional = '#39'; //其中#代替了&
//是否转换一些难以显示的字符为相应的HTML字符 plugins/entities/plugin.js
//默认的字体名 plugins/font/plugin.js
config.font_defaultLabel = 'Arial';
//字体编辑时的字符集 可以添加常用的中文字符:宋体、楷体、黑体等 plugins/font/plugin.js
config.font_names = 'Arial;Times New Roman;Verdana';
//文字的默认式样 plugins/font/plugin.js
config.font_style = {
element : 'span',
styles : { 'font-family' : '#(family)' },
overrides : [ { element : 'font', attributes : { 'face' : null } } ]
};
//字体默认大小 plugins/font/plugin.js
config.fontSize_defaultLabel = '12px';
//字体编辑时可选的字体大小 plugins/font/plugin.js
config.fontSize_sizes ='8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px'
//设置字体大小时 使用的式样 plugins/font/plugin.js
config.fontSize_style = {
element : 'span',
styles : { 'font-size' : '#(size)' },
overrides : [ { element : 'font', attributes : { 'size' : null } } ]
};
//是否强制复制来的内容去除格式 plugins/pastetext/plugin.js
config.forceP
4. 一、使用方法:
1、在页面<head>中引入ckeditor核心文件ckeditor.js
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
2、在使用编辑器的地方插入HTML控件<textarea>
<textarea id="TextArea1" cols="20" rows="2" class="ckeditor"></textarea>

如果是ASP.NET环境,也可用服务器端控件<TextBox>

<asp:TextBox ID="tbContent" runat="server" TextMode="MultiLine" class="ckeditor"></asp:TextBox>
注意在控件中加上 class="ckeditor"
3、将相应的控件替换成编辑器代码

<script type="text/javascript">
CKEDITOR.replace('TextArea1');
//如果是在ASP.NET环境下用的服务器端控件<TextBox>
CKEDITOR.replace('tbContent');
//如果<TextBox>控件在母版页中,要这样写
CKEDITOR.replace('<%=tbContent.ClientID.Replace("_","$") %>');
</script>
4、配置编辑器
ckeditor的配置都集中在 ckeditor/config.js 文件中,下面是一些常用的配置参数:
复制代码 代码如下:

// 界面语言,默认为 'en'
config.language = 'zh-cn';
// 设置宽高
config.width = 400;
config.height = 400;
// 编辑器样式,有三种:'kama'默认、'office2003'、'v2'
config.skin = 'v2';

// 背景颜色
config.uiColor = '#FFF';

// 工具栏基础'Basic'、全能'Full'、自定义plugins/toolbar/plugin.js
config.toolbar = 'Basic';
config.toolbar = 'Full';
这将配合:
config.toolbar_Full = [
['Source','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
'/',
['Styles','Format','Font','FontSize'],
['TextColor','BGColor']
];
//工具栏是否可以被收缩
config.toolbarCanCollapse = true;
//工具栏的位置
config.toolbarLocation = 'top';//可选:bottom

//工具栏默认是否展开
config.toolbarStartupExpanded = true;
// 取消 “拖拽以改变尺寸”功能 plugins/resize/plugin.js
config.resize_enabled = false;

//改变大小的最大高度
config.resize_maxHeight = 3000;
//改变大小的最大宽度
config.resize_maxWidth = 3000;
//改变大小的最小高度
config.resize_minHeight = 250;
php程序员之家
//改变大小的最小宽度
config.resize_minWidth = 750;
// 当提交包含有此编辑器的表单时,是否自动更新元素内的数据
config.autoUpdateElement = true;

// 设置是使用绝对目录还是相对目录,为空为相对目录
config.baseHref = ''

// 编辑器的z-index值
config.baseFloatZIndex = 10000;
//设置快捷键
config.keystrokes = [
[ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ], //获取焦点
[ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ], //元素焦点

[ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ], //文本菜单
[ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ], //撤销
[ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ], //重做
[ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ], //
[ CKEDITOR.CTRL + 76 /*L*/, 'link' ], //链接
[ CKEDITOR.CTRL + 66 /*B*/, 'bold' ], //粗体
[ CKEDITOR.CTRL + 73 /*I*/, 'italic' ], //斜体
[ CKEDITOR.CTRL + 85 /*U*/, 'underline' ], //下划线
[ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]
]
//设置快捷键 可能与浏览器快捷键冲突 plugins/keystrokes/plugin.js.
config.blockedKeystrokes = [
CKEDITOR.CTRL + 66 /*B*/,
CKEDITOR.CTRL + 73 /*I*/,
CKEDITOR.CTRL + 85 /*U*/
]
//设置编辑内元素的背景色的取值 plugins/colorbutton/plugin.js.
config.colorButton_backStyle = {
element : 'span',
styles : { 'background-color' : '#(color)' }
}
//设置前景色的取值 plugins/colorbutton/plugin.js
config.colorButton_colors = '000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,
006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,
A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,
FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF'

//是否在选择颜色时显示“其它颜色”选项 plugins/colorbutton/plugin.js
config.colorButton_enableMore = false
php程序员之家
//区块的前景色默认值设置 plugins/colorbutton/plugin.js
config.colorButton_foreStyle = {
element : 'span',
styles : { 'color' : '#(color)' }
};

//所需要添加的CSS文件 在此添加 可使用相对路径和网站的绝对路径
config.contentsCss = './contents.css';

//文字方向
config.contentsLangDirection = 'rtl'; //从左到右

//CKeditor的配置文件 若不想配置 留空即可
CKEDITOR.replace( 'myfiled', { customConfig : './config.js' } );
//界面编辑框的背景色 plugins/dialog/plugin.js
config.dialog_backgroundCoverColor = 'rgb(255, 254, 253)'; //可设置参考
config.dialog_backgroundCoverColor = 'white' //默认
//背景的不透明度 数值应该在:0.0~1.0 之间 plugins/dialog/plugin.js
config.dialog_backgroundCoverOpacity = 0.5
//移动或者改变元素时 边框的吸附距离 单位:像素 plugins/dialog/plugin.js
config.dialog_magnetDistance = 20;
//是否拒绝本地拼写检查和提示 默认为拒绝 目前仅firefox和safari支持 plugins/wysiwygarea/plugin.js.
config.disableNativeSpellChecker = true

//进行表格编辑功能 如:添加行或列 目前仅firefox支持 plugins/wysiwygarea/plugin.js
config.disableNativeTableHandles = true; //默认为不开启
//是否开启 图片和表格 的改变大小的功能 config.disableObjectResizing = true;
config.disableObjectResizing = false //默认为开启
//设置HTML文档类型
config.docType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd%22' ;
//是否对编辑区域进行渲染 plugins/editingblock/plugin.js
config.editingBlock = true;
//编辑器中回车产生的标签
config.enterMode = CKEDITOR.ENTER_P; //可选:CKEDITOR.ENTER_BR或CKEDITOR.ENTER_DIV
//是否使用HTML实体进行输出 plugins/entities/plugin.js
config.entities = true;

//定义更多的实体 plugins/entities/plugin.js
config.entities_additional = '#39'; //其中#代替了&

//是否转换一些难以显示的字符为相应的HTML字符 plugins/entities/plugin.js
config.entities_greek = true;
//是否转换一些拉丁字符为HTML plugins/entities/plugin.js
config.entities_latin = true;

//是否转换一些特殊字符为ASCII字符 如"This is Chinese: 汉语."转换为"This is Chinese: 汉语." plugins/entities/plugin.js
config.entities_processNumerical = false;
//添加新组件
config.extraPlugins = 'myplugin'; //非默认 仅示例

//使用搜索时的高亮色 plugins/find/plugin.js
config.find_highlight = {
element : 'span',
styles : { 'background-color' : '#ff0', 'color' : '#00f' }
};
//默认的字体名 plugins/font/plugin.js
config.font_defaultLabel = 'Arial';
//字体编辑时的字符集 可以添加常用的中文字符:宋体、楷体、黑体等 plugins/font/plugin.js
config.font_names = 'Arial;Times New Roman;Verdana';

//文字的默认式样 plugins/font/plugin.js
config.font_style = {
element : 'span',
styles : { 'font-family' : '#(family)' },
overrides : [ { element : 'font', attributes : { 'face' : null } } ]
};

//字体默认大小 plugins/font/plugin.js
config.fontSize_defaultLabel = '12px';
//字体编辑时可选的字体大小 plugins/font/plugin.js
config.fontSize_sizes ='8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px'

//设置字体大小时 使用的式样 plugins/font/plugin.js
config.fontSize_style = {
elem
5. Unknown_Error
6. The first computer is enough for stimulating battlefield
the performance of the second computer is too strong, and the graphics card and processor are basically idle. It is normal that the FPS is not as high as that of the first computer, but it will not be able to use the second computer; If the card is stuck, it may be caused by poor heat dissipation.
7.

It is the largest electronic market in China

Huaqiangbei business district is located in Futian District, Shenzhen City, Guangdong Province. Its predecessor is an instrial area mainly procing electronic, communication and electrical procts, with more than 40 factories. It is 930 meters from north to South and 1560 meters from east to West on Huaqiang North Road, with a total area of about 1.45 square kilometers. With the economic development, the regional function of Huaqiangbei has changed, and Huaqiangbei has graally become the largest electronic market in China

In 1998, the urban government began to transform Huaqiangbei commercial street into one of the most traditional and popular commercial areas in Shenzhen. Huaqiangbei business district, as one of the first shopping streets in China, was awarded by the State Administration for Instry and Commerce in 2000, and won the honorary title of "the first electronic street in China" at the opening ceremony of Huaqiangbei branch of the 10th high tech fair in 2008, marking the instry's confirmation of Huaqiangbei Business Street's leading position in the national e-commerce instry

extended information:

related information of Huaqiang North:

1. To the north of Shenzhen Avenue and to the west of Huaqiang North Road, there are Huaqiang electronic world, Jiahe electronic market, metropolis Electronic City, New Asia electronic mall, gaokede electronic market, Huaqiang electronic world and Huaqiang square

2, Huaqiang North commercial area south of Shennan Road: Huaqiang Metro Mall - Yitong mobile phone accessories market, pangyuan communication accessories city, Longsheng communications market, Peng Jinshan technology electronic market, Tong Tian Di communication market, Jinlong communication market, Shuanglong communication market, Tong Tong communication market, Tong Tian Di communication market, Xintiandi communication market. p> Huaqiang Plaza is located in the core of Huaqiang North Business District, the most prosperous business district in Shenzhen. It is a rare super large building complex in Shenzhen. It integrates super grade A office building, five-star hotel, commercial building, business apartment and large underground parking lot. It will become another landmark building in Huaqiang North Area

8. Unknown_Error
9. The latest Internet catchphrase

No.1: shrimp

the South Fujian word "shrimp" is the homonym of "what" in the South Fujian language. For example, "make shrimp", "create shrimp", "do what", "for shrimp", "why". The pronunciation of "what" in Minnan dialect is: Xi á m ì The network term "shrimp" is the network term "shrimp" = "what", which comes from the homonym of "what" in Minnan dialect. Pronunciation: Xia MI is mostly used in online chat and forum posts. It is a fashionable name for "what". It is popular among post-80s and post-90s netizens. There is no doubt that "shrimp" is at the top of the latest Internet buzzwords in 2013

the second place: people are hard and don't tear it down

people are hard and don't tear it down because life is so hard. This word comes from Lin Youjia's song "lying", in which there is a lyric like this: I didn't lie, why should I lie. Love a person, do not love how it will be. Don't say I lied, life has been so difficult, some things don't expose. The word often appears in the replies of netizens. The landlord directly tells a truth that people can't face. Netizens feel the same in the replies, but they can't face it for a moment“ "People are hard to break down" has become the second most popular online catchwords in 2013<

third place: mature women

one of the most basic conditions that mature women must have is to have sufficient economic strength and be able to afford luxury goods such as famous brands. I really can't agree with that. It's right for mature women to have the ability of economic independence, but it doesn't matter much if they don't consume luxury brands. Today, it is necessary for us to redefine the word "mature girl."“‘ The term "familiar woman" has been handed down from the Japanese media circles and now refers to mature women aged 30-50. But not all mature women are mature women. We are talking about mature women not only in terms of sexual maturity. A real mature woman should have rich life experience, connotation, elegant temperament, self love and self-confidence, and know how to be considerate and caring, The third place in the latest Internet catchwords list in 2013 is "mature women"<

NO.4: diaosi

diaosi, who also writes "hanging", "hanging" and "diaosi", is a sarcastic term proced after the prosperity of Chinese Internet culture. It originated from an article written by D8 veteran members, which creatively created the word "diaosi". Later, it was used by members of world of Warcraft bar to ridicule Li Yi bar members, and Li Yi bar friends readily accepted this disdain, Because of the large number of people in Li Yi bar, it became popular all over the Internet! It means inferior Yisi. To realize the dream of owning a house and a car in the central area of a first tier city with our own strength is a distant dream for Diao Si. Because it is widely used in the language and culture of young people, its use and meaning become more extensive. Therefore, it is normal for anyone who is not so satisfied in real life to laugh at himself. In fact, "diaosi culture" is just the rise of another network subculture, which means that Chinese people have gained more perspectives and rights to interpret their own lives, and it is also a new culture<

No.5: green tea whore

"green tea whore" has become a hot word on the Internet, and it is the first time that Sanya's "Haitian feast" was suspected of gathering people to commit altery. Green tea bitch, or green tea bitch, refers to those prostitutes who wear pure clothes. They always have long hair and face up to the sky. In fact, they wear naked makeup. Pretending that people and animals are harmless, heartbroken, and the years are quiet, they are suffering from many diseases, disasters, and emotional injuries. They like to stare at men and look at men innocently. In fact, they are more ambitious than anyone else. In beauty, she disguises herself as a young woman in literature and art, and usually works as an actress / journalist / hostess / writer in literature and art films. She likes to publish literary and artistic political arguments and win men's admiration. She preaches that she has been hurt by love and her teeth are firm. QQ signature is the only lonely flower in the world. Successful women with chaotic private lives and experiences of cheating or being a junior<

sixth place: Mermaid line

Mermaid line is also a famous fish pattern. Its formal scientific name is "oblique and sharp inside and outside the abdomen". It refers to the two V-shaped lines on both sides of the male abdomen close to the upper part of the pelvis. Because its shape is similar to the slightly contracted shape of the lower part of the mermaid, it is called Mermaid line. Leonardo da Vinci first proposed "Mermaid line" as the index of "beauty" and "sexuality" in "on painting". However, with the popularity of mermaid line recently, many beautiful and healthy women have also exposed their Mermaid line, claiming that Mermaid line is not a male specific physiological phenomenon

No.7: Lori

Lori (ロリ) is the abbreviation of Lolita. Originally, Lori refers to an American novel, which later developed into a subculture in Japan“ "Lolita" or "Lolita" is used as a noun to refer to "girl" or "woman in Lolita". But as an adjective, it sometimes refers to "having Lori style", such as Lori dress? ファッション,Lolita fashion The first widely recognized role of Lori is Princess Momo, the protagonist of "sweet Fairy" launched in 1982. The first generation of Lori Meng Wang is the protagonist of "Moka girl Sakura"

No.8: Unidentified jueli

"although unidentified, but jueli", or "unidentified jueli", which means "although I don't understand what (the other party) is saying, I seem to be very powerful."

ninth place: Che Zhen

Che Zhen refers to the phenomenon that the car owners are keen to flirt with their lovers, make some ambiguous actions or have intimate behaviors, which leads to the vibration of the car. Car shock, a kind of modern urban sex life, refers to the irregular sexual contact and intercourse in the car in order to meet their own sexual needs

vehicle vibration, as the name suggests, is the vibration inside the vehicle. Specific saying "car shock": generally refers to the opposite sex between the use of car shock, mutual flirtation and make some ambiguous action or sex[ 1] When Gulong used "parking, sitting and love" in his novels, it is estimated that the word "car shock" has not been born, at least, has not been paid as much attention as it is now. On the forum, netizens who like to discuss "Che Zhen" and lovers who are infatuated with "Che Zhen" or even addicted to "Che Zhen" are collectively referred to as "Che Zhen Zu", and "Che Zhen Zu" has also become a special vocabulary of new human beings

normal male and female riders will have the time of spring, and the place for everyone to vent is not only at home, but also in the "car". In foreign countries, a survey shows that the first place for romantic sex is the beach, and the second place is the car. The reality is that romance on the beach may be extravagant and unsightly for the public, but it is more practical in the car. As the saying goes, practice leads to true knowledge. You can learn and use it flexibly, so as to improve the level of "lathe" in all aspects

Senior lathe people point out that for the veteran who stresses atmosphere and excitement, the bedroom is not as good as the dining table, the home is not as good as the hotel, and the building is not as good as the car. It's not only the possibility of being seen that makes the excitement mixed with guilt and tension, which greatly improves the sexual pleasure. Moreover, in the narrow and closed space like the car, every breath is close to the ear, and each other's body temperature and smell are infected with each other. The closeness and intimacy of the soul can't be compared with other outdoor sex<

10th place: bitcoin

bitcoin is an electronic currency proced by open-source P2P software. Digital currency is a kind of network virtual currency. Bitcoin is also paraphrased as "bitcoin.". Bitcoin does not rely on specific currency institutions to issue, it is generated through a large number of calculations of specific algorithms. Bitcoin economy uses a distributed database composed of many nodes in the whole P2P network to confirm and record all transactions. The decentralized nature and algorithm of P2P can ensure that it is impossible to artificially manipulate the value of bitcoin through mass proction.
10. Take bus No.27 from Baiyue Square East Gate (Metro Shiqiao station) to xinshuikeng cultural center station
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750