Browse Source

support textarea

master
Odilitime 5 years ago
parent
commit
c226f843b4
  1. 2
      src/graphics/components/ComponentBuilder.cpp

2
src/graphics/components/ComponentBuilder.cpp

@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@
#include "../elements/STRONGElement.h"
#include "../elements/INPUTElement.h"
#include "../elements/BUTTONElement.h"
#include "../elements/TEXTAREAElement.h"
#include "InputComponent.h"
#include "ButtonComponent.h"
@ -32,6 +33,7 @@ const std::unordered_map<std::string, std::shared_ptr<Element>> ComponentBuilder @@ -32,6 +33,7 @@ const std::unordered_map<std::string, std::shared_ptr<Element>> ComponentBuilder
{"br", std::make_shared<DIVElement>()},
{"strong", std::make_shared<STRONGElement>()},
{"input", std::make_shared<INPUTElement>()},
{"textarea", std::make_shared<TEXTAREAElement>()},
{"button", std::make_shared<BUTTONElement>()},
{"b", std::make_shared<STRONGElement>()},
{"i", std::make_shared<SPANElement>()}

Loading…
Cancel
Save