Hi
I'm trying to insert html to get properties like bold, underline, italic. But I have to do from html, because I relocated from html to bbcode, and according to what I found, I can not pass the html style property, so ignore that part ... So I'm putting the properties from the html, I'm using this code:
Qt Code:
ui->Txt_POST->textCursor().insertHtml("<b>"+ui->Txt_POST->textCursor().selectedText()+"</b>");To copy to clipboard, switch view to plain text mode
But I don't know how to remove the tags (<b></b>) from html
Any suggestions?
Bookmarks