tag to Gist URL is replaced to tag in text editor after updating the post.
-
I have trouble with that …
I embedded tag like below to a Gist URL in text editor,then, I updated the post,
the tag was replaced into tag with the URL.
https://gist.github.com/POM/ef67fes7bd00303ec8d5651f81a71982.jsPlease help me to embed the tag to Gist URL in text editor.
I can embed such a tag in text editor in other English site of my company. But, I have the trouble in my Ja site.ヘルプが必要なブログは (ログイン中のユーザーにのみ表示) です。
-
then I updated the post,
then, the script tag was replaced into tag with the URL.
https://gist.github.com/POM/ef67fes7bd00303ec8d5651f81a71982.jsPlease help me to resolve the problem.
I can embed such a script tag in text editor in other English site of my company. But, I have the trouble in my Japanese site.
-
other English site of my companyがどのようなサイトがわかりませんが、WordPress.comではJavaScriptの書込はできません。
WordPress.com と WordPress.org の違い
使用可能なコード -
the script and the anchor tags were disappeared in my initial post.
So, I re-sent the same post with escaped tags.
============================================
I have trouble with that …
I embedded script tag like below to the Gist URL in text editor,https://gist.github.com/POM/ef67fes7bd00303ec8d5651f81a71982.js
then I updated the post,
then, the script tag was replaced into the following anchor tag with the same URL.https://gist.github.com/POM/ef67fes7bd00303ec8d5651f81a71982.js
Please help me to resolve the problem.
I can embed such a script tag in text editor in other English site of my company. But, I have the trouble in my Japanese site.
-
返信ありがとうございます。
>other English site of my companyがどのようなサイトがわかりませんが、
>WordPress.comではJavaScriptの書込はできません。Englishサイト:http://community.aras.com
日本語サイト:https://arasjapan.wordpress.comどちらも同じWordPress.comでの運営と理解しているのですが、違うのでしょうか?
上記Englishサイトでは、GistへのscriptタグをHTMLのテキストエディタで埋め込んで保存しても、そのままscriptタグが残り、表示した時にコードが表示されるのですが、日本語サイトの場合、保存後にanchorタグに置き換わってしまい、表示時にURLリンクが表示されて、想定したコードが表示されません。
-
nslookup community.aras.com サーバー: google-public-dns-a.google.com Address: 8.8.8.8 権限のない回答: 名前: araswpsite.wpengine.com Address: 104.199.112.175 Aliases: community.aras.comnslookup 104.199.112.175 サーバー: google-public-dns-a.google.com Address: 8.8.8.8 名前: 175.112.199.104.bc.googleusercontent.com Address: 104.199.112.175community.aras.comはWordPress.comのサイトではありません。
-
Englishサイトの方は個別で建てたものなんですね。
社内確認不足でお手数おかけしました。その場合、日本サイトの方はWordPress.comのサイトかと思いますが、
こちらに本社英語サイトと同じく、HTML、JavaScript、CSS等のコードスニペットを含む技術ブログ記事を掲載したいのですが、使用が禁止されたタグ等も含めて、表示上そのままのコードを掲載したいのですが、何か良い方法はあれが教えて頂けますか?タグを<等でエスケープしてpreやcodeタグで括っても、取り除かれてしまいました。
-
-
WordPress.comサーバにホスティングする限りはJavaScriptは使えないんですが、WordPress.com+ビジネスプラン+ドメイン(or サブドメイン)の場合に限り別のサーバ(管理はWordPress.com/Automattic社)に移されWordPress.org(インストール型のWordPress)+Calypso(WordPress.comのユーザーインターフェース)にカスタマイズされた環境に変わるようです。
-
ご回答ありがとうございます。
必ずしもスクリプトを実行したいわけではなく、
scriptタグ等を含むHTMLサンプルコードをブログ文中に掲載するのが、
最小要件ではあるのですが、それも難しい様であれば、ご提案の方法も含めて検討させて頂きます。本件は、クローズ頂いて結構です。ありがとうございました。
- トピック「tag to Gist URL is replaced to tag in text editor after updating the post.」には新しい返信をつけることはできません。