diff --git a/docs/code/detail/options.md b/docs/code/detail/options.md index 043945fd..cb986e1c 100644 --- a/docs/code/detail/options.md +++ b/docs/code/detail/options.md @@ -127,8 +127,9 @@ layout: ['code', 'preview'] 用于开启 `preview` 属性后的面板头部右侧区域工具栏图标,值为一个数组,内置成员: -- `full` 最大化显示 -- `window` 在新窗口预览。一般当 `layout: 'iframe'` 时开启,且 code 中须包含完整的 HTML 方可在新窗口正常预览。 +- `copy` 2.8.2+ : 代码复制 +- `full` : 最大化显示 +- `window` : 在新窗口预览。一般当 `layout: 'iframe'` 时开启,且 code 中须包含完整的 HTML 方可在新窗口正常预览。 工具图标将根据数组的排列顺序来显示,如: @@ -162,6 +163,20 @@ toolsEvent: function(othis, type){