Created
October 31, 2018 18:00
-
-
Save edamamegreen/2add24deaac0d88c201e8e9d5f6797b3 to your computer and use it in GitHub Desktop.
HTMLEditor Inputs&
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTMLEditor Inputs& | |
Tag Type | |
CONTENT Tag | |
strikethrough true -> new InlineView | |
Unknown tags | |
All other tags | |
Strikethrough | |
start del tag -> True | |
end del tag -> False | |
True | |
content tag -> True | |
False | |
super_create | |
next elem -> super_create | |
check tag name and type | |
content tag -> new InlineView | |
start del tag -> new InlineView | |
end del tag -> no new InlineView | |
other tag -> no new InlineView | |
new InlineView | |
no new InlineView | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment