suyati / line-control

A Light Weight HTML5 Text Editor designed as a JQuery Plugin
Other
124 stars 90 forks source link

How to show beautiful html code in source code viewing area? #124

Open Ademgenc53 opened 3 years ago

Ademgenc53 commented 3 years ago

Hello,

Is it possible to show nice and organized HTML code to add or edit custom HTML code in the source code viewing area?

nmohanan commented 3 years ago

Hi Adem,

Line control is completely free and open-source code, feel free to change the code.

Thanks

On Fri, Mar 5, 2021 at 1:52 PM Adem GENÇ notifications@github.com wrote:

Hello,

Is it possible to show nice and organized HTML code to add or edit custom HTML code in the source code viewing area?

--

The information in this email may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete the message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Any information in this message that does not relate to official business shall be understood to be neither given nor endorsed by Suyati Technologies Private Limited. Although the company has taken reasonable precaution to ensure no viruses are present in this email, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

P Please consider the environment before printing this e-mail -- SAVE PAPER! SAVE THE PLANET!!

Ademgenc53 commented 3 years ago

I disabled the following in CSS and the HTML code was well readable However, it is not loaded into the editor from the database with php Editor does not load at all How can I overcome this error?

pre {
  /* white-space: pre-wrap; */       /* css-3 */
  /* white-space: -moz-pre-wrap; */  /* Mozilla, since 1999 */
  /* white-space: -pre-wrap; */      /* Opera 4-6 */
  /* white-space: -o-pre-wrap; */    /* Opera 7 */
  /* word-wrap: break-word; */       /* Internet Explorer 5.5+ */
}