import type { EventUnbinder } from '@ephox/sugar'; import * as ActiveAllowBubbling from '../../behaviour/allowbubbling/ActiveAllowBubbling'; import AllowBubblingSchema from '../../behaviour/allowbubbling/AllowBubblingSchema'; import type { AllowBubblingBehavior } from '../../behaviour/allowbubbling/AllowBubblingTypes'; import { SetupBehaviourCellState } from '../../behaviour/common/BehaviourCellState'; import * as Behaviour from './Behaviour'; const AllowBubbling: AllowBubblingBehavior = Behaviour.create({ fields: AllowBubblingSchema, name: 'allowbubbling', active: ActiveAllowBubbling, state: SetupBehaviourCellState([] as EventUnbinder[]) }); export { AllowBubbling };