Html editing issue


  • Banned

    I want to edit html. I tried with QTexEdit but QTextEdit doesn't support html editing fully. Please tell me anyother way of editing html ? Please help.



  • try to use Qsethtml( ) function for set html..


  • Moderators

    [quote author="appollosputnik" date="1372581553"]I want to edit html. I tried with QTexEdit but QTextEdit doesn't support html editing fully. Please tell me anyother way of editing html ? Please help.[/quote]
    This isn't that easy (depending on your requirements).

    But you can use a QWebView and do this:
    @
    myWebView->page()->setContentEditable(true);
    @
    Additionally you can connect some buttons to a toolbar using "QWebView's actions":http://qt-project.org/doc/qt-4.8/qwebview.html#pageAction.



  • Do you want to edit the HTML source code or do you want to edit the page as it is displayed in a browser ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.