Uploaded image for project: 'JBoss Portal'
  1. JBoss Portal
  2. JBPORTAL-2151

WYSIWYG not working in preview with files with no content.



      after a creation of file with no content (nothing typed into WYSIWYG Editor) i can click on the "preview" button. it seems that clicking this button has different functionality when the file has content, or is blank. on a blank file "preview" gives us ONLY the list of files in directory (which i guess is not correct functionality) but if the file has any text written in it, the preview opens the "WYSIWYG Editor" where it is able to see the content of file and change it AND the list of files in directory . user who didn't fill the content of their files are now unable to do it with preview button. is it correct?

      login as admin
      click on the admin link
      click on cms tab
      select action -> create file
      choose any filename, description, title and language, but don't type anything into the WYSIWYG editor
      click "create"
      click on the "preview" link

      as a resultyou cannot see the WYSIWYG editor and you cannot add content this way.
      same steps with typing some content into the WYSIWYG ends with showing up the WYSIWYG editor.

        Gliffy Diagrams


            Issue Links



                • Assignee:
                  soshah Sohil Shah
                  vrockai Viliam Rockai
                • Votes:
                  0 Vote for this issue
                  1 Start watching this issue


                  • Created: