Piranha.core: ability to add html block

Created on 18 Oct 2020  路  6Comments  路  Source: PiranhaCMS/piranha.core

i can't add html text in blocks , please put this ability
when we want change website template it's necessary to can add html manually

question

Most helpful comment

We do not have the source editor plugin enabled by default. You can read here how to adjust the settings of the tiny editor in piranha.

https://piranhacms.org/docs/architecture/html-editors/tiny-mce

Best regards

All 6 comments

We provide a lot of different blocks for building content, HTML is one of them. https://piranhacms.org/docs/content/blocks

Please clarify exactly what you鈥檙e trying to do that you feel isn鈥檛 working, what version of Piranha you鈥檙e using and how you have created your project.

Regards

thanks for your response

i dont know am i doing this wrong or not ?
when want add some html to page ,

  1. i click on plus ( + ) button
  2. choose "Content" block
    but when i choose "Content" i face with text editor (POWERED BY TINY)
    and in this area i can't add plain html
    (html rendered as text)
    (version : 8.4 SR3)

We do not have the source editor plugin enabled by default. You can read here how to adjust the settings of the tiny editor in piranha.

https://piranhacms.org/docs/architecture/html-editors/tiny-mce

Best regards

Hello and best regards
It's really annoying that you can't inject html code directly into the page

I used the tiny mce "html editor" as your guide, but my problem now is that tiny mce automatically deletes empty tags (like font awesome tags).

It took me a lot of time to figure out the problem and how to solve it

Please put a simple editor which we can put HTML on the page without tiny mce.

accourding to link in below
https://stackoverflow.com/questions/26732501/configure-tinymce-for-use-of-font-awesome-icons-in-composite-c1
for each empty tag we must set &nbsp in empty tag to tiny mce find out shoulnt remove tag

like  .

i cant do this for every tag, and i changed all configuration and didnt find out how to fully solve this problem.

plz if its ok , just add a simple editor that can accept html

@codesoroush Do you mean add a WYSISYG editor with better code editing features, or do you just mean a simple text block that you can add custom HTML into without preview in the manager UI?

simple text box that we can add custom html , a box that i can add my html into that without filtering or intellisense (textarea is fine)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

baibhavs picture baibhavs  路  3Comments

gerardvanderkruijs picture gerardvanderkruijs  路  4Comments

aneff-official picture aneff-official  路  3Comments

aneff-official picture aneff-official  路  4Comments

peppelorum picture peppelorum  路  3Comments