Noodle Help Site

new BEditor(myParent) → {BEditor}

Minimal functions for a WYSIWYG Web Broswer editor
developer.mozilla.org/en-US/docs/Web/API/document.execCommand
Parameters:
Name Type Description
myParent Noodle
Returns:
Type
BEditor

Methods

clean()

fd(s)

A Compatibility wrapper for execCommands
Parameters:
Name Type Description
s String aCommandName

fdv(s, v)

A Compatibility wrapper for execCommands that use a value
Parameters:
Name Type Description
s String aCommandName
v String aValueArgument

ffHack()

fill()

getDoc() → {Document}

Returns:
Document of the BEditor's content body
Type
Document

hiLite(v)

Parameters:
Name Type Description
v String Color value

init(w)

Parameters:
Name Type Description
w Window

insertHR()

insertIMG(imgSrc)

Parameters:
Name Type Description
imgSrc String URL

insertNode(win, node)

Parameters:
Name Type Description
win Window Window of BEditor's content body
node Node

insertTable()

qfd(s)

Parameters:
Name Type Description
s *

showSpacing()

viewSource()