콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
834 화면

Hello,

What i would want is the option to add toggles in hml (like in notion). this is supported in html via the summary tag.

<details>
  <summary>Epcot Center</summary>
  <p>Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.</p>
</details
Is it possible to make an extention to the editor to archieve this?
Where would I need to start?

Regards,
아바타
취소
작성자 베스트 답변

Hi, No, that is not what I mean.

I was wondering if it would be hard to add an option to the list when you press "/" in the editor.

That option would be used to insert 

tag.

tag.

Basically I would like to know how hard it would be to extend the editor function with custom options.


Regards,

Remco


아바타
취소
베스트 답변

Hi,

Are you looking to enable the code view of html field in odoo ? If yes, you can do it by adding options="{'codeview': true}" along with the html field in the view level.

See:  https://www.youtube.com/watch?v=BsErylsHlL0

Thanks

아바타
취소