最近搜索
没有最近搜索

john_weng 翁維澤
已加入2021年4月16日
·
最后活动2022年1月28日
关注
0
关注者
0
活动总数
25
投票
0
订阅
16
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 john_weng 翁維澤
john_weng 翁維澤 进行了评论,
Hi Greg Katechis,
This is John.
I try copy javascript's code from "New Copenhagen" to my theme, and I can avoid the submit button issue now.
When I test the Theme, I found that when I use code block, it will not indent as code format, it also occur at "New Copenhagen" theme, I think it also occur in your environment, you can reference below code format from the code block.
function closest (element, selector) {
if (Element.prototype.closest) {
return element.closest(selector);
}
do {
if (Element.prototype.matches && element.matches(selector)
|| Element.prototype.msMatchesSelector && element.msMatchesSelector(selector)
|| Element.prototype.webkitMatchesSelector && element.webkitMatchesSelector(selector)) {
return element;
}
element = element.parentElement || element.parentNode;
} while (element !== null && element.nodeType === 1);
return null;
}
The code is part of "New Copenhagen" theme script.js,
It's from line: 10-23
查看评论 · 已于 2022年1月26日 发布 · john_weng 翁維澤
0
关注者
0
投票
0
评论
john_weng 翁維澤 进行了评论,
Hi Greg Katechis,
Sorry for replying late!
I’m not sure what you mean about
“test the comment functionality out in a new Copenhagen environment and let us know if the submit button is still greyed out there?”
Because in new Copenhagen environment, it already use {{wysiwyg 'body' rows='7'}},
also, it’s working correctly.
I check the script.js file and find there is some code about the “textare” and disable submit button, please reference the picture(compare.png)
I have also attached the files:
John_Live_script.js(line: 110-126), New_Copenhagen_script.js(line: 92-128)
I think this is should be the reason why my theme’s submit button disabled because there is no definition of “wysiwyg”.
But I’m not familiar with javascript, can you tell me how to write the code to judge “wysiwyg” is empty or not?
If need other information, please let me know.
Thank you.
查看评论 · 已于 2022年1月21日 发布 · john_weng 翁維澤
0
关注者
0
投票
0
评论
john_weng 翁維澤 进行了评论,
Hi Gorka,
We have use the method you provide, the editing toolbar can show,
But we meet another issue that customer cannot click submit even they have leave the message
I add my code, reference request_page.hbs
Please let me know if you know any of restricted.
Thank you.
Best Regards.
John Weng
查看评论 · 已于 2021年12月30日 发布 · john_weng 翁維澤
0
关注者
0
投票
0
评论
john_weng 翁維澤 创建了一个帖子,
Hi Zendesk,
Our customer ask us to add "editing toolbar" at "My activites", so when they're reply the ticket from web, they can post "code" for correct format, as below picture show:
Currently, it can only write plain text
Thank you.
Best Regards.
John Weng
已于 2021年12月22日 发布 · john_weng 翁維澤
0
关注者
4
投票
6
评论
john_weng 翁維澤 进行了评论,
Hi,
May I know what's different between "Ticket: Schedule" and "Ticket: Within schedule" conditions at "Creating triggers based on multiple schedule"?
Use example in this article
If condition is
Ticket: Schedule | Is | Americas support hours
I think trigger will filter the tickets apply to "Americas support hours" schedule.
then, what's different with condition?
Ticket:Within schedule | Americas support hours
Is this condition filter the different tickets? If true, what kind of tickets it filter?
查看评论 · 已于 2021年11月23日 发布 · john_weng 翁維澤
0
关注者
0
投票
0
评论
john_weng 翁維澤 进行了评论,
Hi I'm using Professional now, but is interested in Enterprise plan.
About Analytics (if Explore is enabled)
May I know what's the different between "Explore permissions" and "Reports tool in Support"?
查看评论 · 已于 2021年11月23日 发布 · john_weng 翁維澤
0
关注者
1
投票
0
评论
john_weng 翁維澤 创建了一个帖子,
Hi Zendesk,
Our Agents have complained that if using Safari to process tickets, Zendesk often appears "This webpage is using significant memory. Closing it may improve the responsiveness of your Mac" and need to wait for a while or reflash the web.
The Safari version is 14.1.1(16611.2.7.1.4)
Please help to improve this situation.
Thank you.
已于 2021年7月26日 发布 · john_weng 翁維澤
3
关注者
14
投票
12
评论