Você pode usar blocos HTML para acessar e editar rapidamente código HTML complexo em blocos de conteúdo e artigos. Os blocos HTML permitem que você trabalhe com blocos de código que, de outra forma, não seriam editáveis no editor e os exiba de maneira segura na central de ajuda.
Sobre blocos HTML
Com os blocos HTML, você pode copiar e colar código não compatível para elementos HTML no editor de código-fonte. O código é, então, inserido em um bloco HTML e exibido no artigo ou no bloco de conteúdo. Você pode clicar no bloco HTML para abrir um editor de código-fonte que exibe apenas o código desse bloco. É possível usar essa visualização focada para manipular o HTML do conteúdo selecionado sem ter que percorrer o código-fonte de todo o bloco de conteúdo ou artigo.
Quando você atualiza o bloco de conteúdo ou o artigo, os elementos HTML associados ao bloco HTML aparecem em todos os artigos ou blocos de conteúdo publicados que contêm o bloco HTML. Você pode usar blocos HTML para qualquer bloco de código HTML não compatível, incluindo scripts HTML complexos ou elementos como tabelas de conteúdo, acordeões, abas ou escalonadores.
Criação de blocos HTML
- Na central de ajuda ou no Administrador do Conhecimento, crie ou edite um bloco de conteúdo.
- No editor de bloco de conteúdo, clique em HTML na barra de ferramentas.
- No editor de código-fonte, crie ou edite o código-fonte não compatível que você deseja usar.
- Clique em Aplicar para salvar o código e retornar ao editor de bloco de conteúdo. O código não compatível aparece como um bloco HTML no editor. Você pode clicar no bloco HTML para exibir outras opções ou pode clicar e arrastar o bloco pelo editor para mover o elemento para um novo local.
- Na central de ajuda ou no Administrador do Conhecimento, crie ou edite um artigo.
- Clique no botão de componentes do artigo (
) na barra de ferramentas do editor de artigos e selecione Bloco de HTML.
- No editor de blocos HTML, crie ou edite o código-fonte não compatível que você deseja usar.
- Clique em Inserir para salvar o código e retornar ao editor de artigos.
O código não compatível aparece como um bloco HTML no editor.
Você pode clicar no bloco HTML para exibir outras opções ou pode clicar e arrastar o bloco pelo editor para mover o elemento para um novo local.
Edição de blocos HTML
Os blocos HTML permitem que você localize e trabalhe facilmente com o código-fonte do bloco. Em vez de percorrer o código-fonte, você pode acessar e editar o código-fonte do bloco HTML diretamente do editor de bloco de conteúdo ou do editor de artigos.
- Abra o artigo ou o bloco de conteúdo que contém o bloco HTML que você quer editar no modo de edição.
- Clique no bloco HTML que você deseja editar para exibir os ícones de opção e selecione o ícone de editar (
).
O editor de bloco HTML é aberto no modo de edição.
- Faça as alterações necessárias no editor de bloco HTML.
- Clique em Aplicar.
Suas atualizações são salvas e ficam visíveis em todos os artigos e blocos de conteúdo que contêm o bloco HTML. Você não precisa republicar os artigos para que as alterações nos blocos de conteúdo sejam exibidas.
Desvinculação de blocos HTML
Você pode desvincular um bloco HTML para que seja incorporado e remover qualquer marcação não compatível do conteúdo. Você pode visualizar o código que será removido antes de desvinculá-lo.
- Abra o artigo ou o bloco de conteúdo que contém o bloco HTML que você quer editar no modo de edição.
- Clique no bloco HTML que você quer apagar para exibir os ícones de opção e selecione o ícone de desvincular (
).
-
Verifique o código que será desvinculado para ter certeza do que será removido. Para continuar, clique em Desvincular.
O bloco HTML é desvinculado e o código incompatível é removido.
- Clique em Atualizar (para blocos de conteúdo) ou Salvar (para artigos).
O bloco HTML é desvinculado em todos os blocos de conteúdo e artigos.
Exclusão de blocos HTML
A exclusão de blocos HTML remove o bloco, incluindo o texto e o código dentro desse bloco, do artigo. Quando você apaga um bloco HTML, ele é removido imediatamente, sem confirmação, e não é possível recuperá-lo.
- Abra o artigo ou o bloco de conteúdo que contém o bloco HTML que você quer editar no modo de edição.
- Clique no bloco HTML que você deseja apagar para exibir os ícones de opção e selecione o ícone de apagar (
).
O bloco HTML é removido, sem confirmação.
- Clique em Atualizar (para blocos de conteúdo) ou Salvar (para artigos).
O bloco HTML é apagado de todos os artigos em que o bloco de conteúdo aparece.
11 comentários
Vinicius Henrique da Silva
I'd like to express my dissatisfaction regarding the removal of
<iframe>
support in the new article editor for non-Enterprise plans.Previously, it was completely possible to embed PowerPoint Online presentations in articles using a simple
<iframe>
. This was a basic, functional, and very useful feature to enrich Help Center content. Now, with the new editor, this capability has been restricted to Enterprise plans only through the new HTML block component.In practice, this is not an improvement. It's a downgrade for everyone on lower plans. A feature that worked perfectly before has been intentionally removed, and the only way to get it back is to upgrade to a more expensive plan. That feels more like a business decision than a technical one.
Is this really acceptable from a platform that promotes itself as customer experience focused? Taking away core features after years of use might even be seen as unfair practice or a form of forced upselling.
I hope this decision is reconsidered. Removing useful tools is not product improvement. It's the opposite.
0
C.W. Holeman III
This is Really Quite Unacceptable!
I was super excited for this update, until I started using it. The forced HTML code blocks are utterly atrocious. Every single one of my agents has complained about it! It's terrible!
As numerous others have already stated above:
Most of my people don't know HTML! Forcing my agents to learn a new language is just not going to happen. Every single one of them is back to the legacy editor.
I have already seen a sharp decline in the quantity and quality of articles that are being produced since this editor update was released. I can already see the wasted hours.
Whoever was in charge of this design decision needs to take a good long look at how they're making choices. This is a case of one step forward, three steps backward! The ability to add an <hr> is the best part of this update. And that's a pretty sad statement.
We often have to pull content from other sources, such as an old knowledge base that we're migrating into Zendesk, or other files from a wide assortment of places. If anything that we copy and paste into the editor has any kind of styles or unsupported anything in it it now renders the entire page utterly uneditable! The only workaround is to do a paste-as-unformatted which completely strips out all the important formatting like headers, lists, and italics. At which point my agents have to completely rebuild every line of pasted content one by one.
In summary: FIX THIS FAST! You are costing us money!
3
Brooke
+1 to everyone else's negative feedback. I go into the HTML to create admonition / callout boxes, and up until the new editor, I've always been able to quickly modify the copy inside the admonition box by editing it in the WYSIWYG editor.
With this new update, I now have to go into the HTML view every single time I need to see what the original text inside the box is, and to make edits. This is very frustrating and time consuming every time I need to edit the article. Not to mention, if I need to format the text inside the box, I now have to write this out as HTML rather than using the options available in the WYSIWYG editor / keyboard shortcuts.
This feature is a huge step back in making things more efficient for myself and other writers, and I like to consider myself a Zendesk Guide power user. Please allow all text to be visible like it was with the legacy editor while in the WYSIWYG editor.
2
Rob Roberts
I agree with some of the other complaints. It's ridiculous to force ALL the plain text into one of these blocks simply because one word or element has basic HTML applied to it.
For example, I have a series of 10 steps in an article. In step 1, I have an inline icon image that I applied a class to. Because of that, all 10 steps get automatically jammed into an HTML block. And as a result, we can no longer perform basic texts edits on the steps - we now need to go into the HTML editor to update the text, manually add new steps (<li>), etc. This is absurd and opens the door to wasting MORE time that it's saving.
One of our help centers is internal with a large group of non-savvy contributors. We can't expect them to suddenly all know HTML if someone needs to add some very basic code to a single element in a section.
And on top of that, it doesn't even seem necessary. I found that if I unlink an HTML block, it says it will remove certain code but it doesn't. It does, however, remove the HTML block from the editor while leaving everything else intact. So this seemed like a decent workaround at least - the HTML I entered worked just fine and the content appeared as it normally does in the editor. Until I found that the next time I went into the full HTML editor, made any other unrelated change and clicked Apply, those HTML blocks came right back.
Please don't force this feature on us in its current state. It's going to require us to either remove / go without all the simple HTML we've been using up to this point without issue or keep it and resort to much more manual and labor-intensive editing.
3
Summer Polacek
This is a very frustrating feature. It's putting simple html, such as markup-bullet points, into an HTML block. Then I am forced to do simple text edits within the code editor intead of the front end wysiwyg.
I can't seem to find a way to turn it off, or remove it, or make it STOP inserting in my articles.
I was excited about some other features that were added, but this one was so frustrating that I am going to make sure i use the legacy editor. I cannot stand this.
8
David Wexelblat
This isn't correct with the new editor, is it? It should be applicable (for Articles) for any with Guide, right?
0
Molly Exten
HTML blocks are wreaking havoc on my code blocks. I use an LMS to manage translations for Zendesk articles, and every time I import a translation back to Zendesk now, code blocks that use angle brackets get swallowed up by an HTML block.
Really not a fan of this feature.
2
Katarzyna Karpinska
Hi 4594924564378 ,
Thank you for this question. At the moment the HTML blocks are only available in Content blocks, which are an enterprise feature (we have updated the banner at the top of the article). Later this year they'll be available also on lower plans in the article editor.
0
Mario Guisado
Is this available in the Professional Plan? I don't have the ability to add a content block in Professional but the header to this article shows that this is available in all plans?
How do we use this if we can't create content blocks?
0
Patrick Morgan
I tried to edit the HTML code in a content block (only trying to add two special characters not supported by the WYSIWYG editor). After saving, all the content in the content block was converted into the HTML block and is no longer editable in the WYSIWYG editor. Is this expected behavior? I have no control over what content gets put in the HTML block.
1
Entrar para deixar um comentário.