notes <- reactiveValues(notes = "test")
output$notes <- renderUI ({
aceEditor("ace_notes", value=notes$notes, wordWrap = TRUE, height = "600px", mode = "plain_text", theme = "dawn")
})
observeEvent(input$ace_notes, {
saveNotes(input$ace_notes, input$ticker, cache_path)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.