Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Create a Print Preview using the data set in the rich text editor

 
Pramod Krishna Murthy
Ranch Hand
Posts: 37
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I need to create a print preview button in the jsp page. i am using a rich text editor in the jsp page and it has all the word editing functionalities. if the user clicks preview it should show a print preview of the text he has created.
 
K West
Ranch Hand
Posts: 58
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Show the innerHTML of the rich text editor in desired location.
 
K West
Ranch Hand
Posts: 58
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used this editor [http://ckeditor.com/demo] and it has preview button with other features.
 
Pramod Krishna Murthy
Ranch Hand
Posts: 37
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for the reply and the time you have taken to help me out. It really helped me.
 
Pramod Krishna Murthy
Ranch Hand
Posts: 37
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need one more help from you.
i developed the rich text editor. now i need to save the text in the same format as it was in the editor. for this normally some text or some html tags will be appended to the text and will be saved. i saw the same thing in your application also. i even downloaded the source code and went through it. but when i tried to analyse it , my editor rendered it in one packed format. so i was not able to fully understand it. can you please give me the code that is appended with the text to recognize whether it is bold italic and so on. i need to insert it in this format for further processing.
 
Pramod Krishna Murthy
Ranch Hand
Posts: 37
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it...
its working now...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic