Class: BlockPyPresentation

BlockPyPresentation

new BlockPyPresentation(main, tag)

An object for managing the blob of text at the top of a problem describing it. This isn't a very busy component. TODO: Isn't most of this redundant now?
This:
Parameters:
Name Type Description
main Object The main BlockPy instance
tag HTMLElement The HTML object this is attached to.
Source:

Methods

closeEditor()

Removes the editor when it's not in use. DEPRECATED
Source:

setBody(content)

Updates the contents of the presentation blob, possibly updating the editor's size too.
Parameters:
Name Type Description
content String The new text of the presentation blob.
Source:

setVisible()

Makes the editor available or not. DEPRECATED.
Source:

startEditor()

Creates the Summer Note editor for the presentation blob. DEPRECATED.
Source: