View Single Post
06/24/14, 05:22 PM   #13
Harven
 
Harven's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 135
Hey,
I just figured out that you can no longer insert custom links into chat edit box.

None of the following will work (worked in the previous version):
Lua Code:
  1. ZO_ChatWindowTextEntryEditBox:SetText("|H1:customlink:somedata|htext|h")
  2. ZO_ChatWindowTextEntryEditBox:InsertText("|H1:customlink:somedata|htext|h")
  3. CHAT_SYSTEM:StartTextEntry("|H1:customlink:somedata|htext|h")
  4. ZO_LinkHandler_InsertLink("|H1:customlink:somedata|htext|h")

This will work:
Lua Code:
  1. ZO_LinkHandler_InsertLink("|H1:item:43561:319:3:0:0:0:0:0:0:0:0:0:0:0:0:4:0:0:0:0|h|h")

Looks like there is some work done outside the lua code to not allow custom links to be entered into the chat. I fear that it will apply to colours also (haven't tested yet).
  Reply With Quote