Posted By Mark Buelsing on 28 Oct 2020 01:01 PM
I'm using an Action Form. The DNN Text Editor in an Action Form is an html module in edit mode.
My user is pulling multiple pieces of content into the editor from the user's custom tables and then stays in edit mode so the user can change the document text, highlight and underline and such, and when finished they will click a button that grabs their content from the DNN Text Editor and produces a formatted PDF.
In order to pump a piece of content from a record into the DNN Text Editor in just the right location in the existing content without replacing the entire contents of the editor, I'm placing an anchor or div with an ID in the content, and then need to use jquery/JS to put the incoming content into the html of the named div.
Basically I'm creating a pdf generator that pulls from user data that can be tweaked by the user. I'm liking it so far.
I think a custom CkEditor plugin (although not very simple) would be the most reliable way to do this.