Added rich text clipboard
This commit is contained in:
parent
c7cea45e9c
commit
afe1623cf8
5 changed files with 139 additions and 142 deletions
|
|
@ -101,11 +101,6 @@ bool TextBoxEditTool::edit_gui(const std::shared_ptr<DrawComponent>& comp) {
|
|||
a->textBox->set_text_style_modifier_between(a->cursor->selectionBeginPos, a->cursor->selectionEndPos, currentMods[TextStyleModifier::ModifierType::COLOR]);
|
||||
}
|
||||
|
||||
if(t.gui.text_button_wide("print text", "Print HTML Selection")) {
|
||||
std::cout << "-----HTML-----\n" << a->textBox->get_rich_text_data_between(a->cursor->selectionBeginPos, a->cursor->selectionEndPos).get_html() << std::endl;
|
||||
}
|
||||
|
||||
|
||||
t.gui.pop_id();
|
||||
|
||||
if(a->textBox->inputChangedTextBox)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue