handleBlockSelectionMouseDown
——nvPress 块编辑器开发手册
播放幻灯片
|
文档首页
文档目录
概述
准备知识
开发示例
一个插件例子
注册区块
使用richText
内嵌其他Block
Block settings
Block inline tunes
模块前台显示
服务器端渲染模块
nv.components
说明
editorRichText
editorInnerBlocks
editorToolbarDropdown
editorCreateBlockTemplate
editorCollapseBox
editorColorSelector
nv.editor.blocks
register_block_type
registered_blocks
unregister_block_type
register_block_category
unregister_block_category
selectFirstTextNode
insert
remove
focus
move_up
move_down
can_move_up
can_move_down
get_parent_row
get_parent_row_stacks
get_combine_function
get_transfrom_functions
get_block_by_id
nv.editor.blockSelection
block_selection_triggerd_blocks_REF
block_selection_ready
handleBlockSelectionMouseDown
handleBlockSelectionMouseOver
handleBlockSelectionMouseUp
parse_block_list
nv.editor.selection
getElementAncestorNode
getAncestorNode
getAncestorContentEditable
selectNode
unwrapNode
clearEmptyNode
insertHTML
extractFragment
isAtStart
isAtEnd
isFirstEditableContent
isLastEditableContent
nv.editor.inlineTools
registered_inline_tools
register_inline_tool
unregister_inline_tool
register_inline_tool
描述
使用鼠标拖选Blocks时,鼠标按下回调
类型:
Function