2017-12-11 12 views
0

이 편집자는 나에게 심각한 두통을 줬습니다. 다음은 편집기에서 생성하는 HTML입니다.Telerik RadEditor - 새 콘텐츠를 입력 할 때 텍스트가 사라짐

<p style="text-align: justify;"><!--[if (gte mso 9)]><table cellspacing="0" cellpadding="0" align='left'><tr><td align='left' style="padding-right:10px; padding-top:5px;"><![endif]--><img alt="" width="163" height="180" id="img00" style="padding-top: 5px; margin-right: 10px; max-width: 100%; float: left; width: 118px; height: 127px;" src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Max_Born.jpg/240px-Max_Born.jpg" /><span style="font-family: Verdana;"><img alt="" width="0" height="0" /><!--[if (gte mso 9)]></td><td></tr></table><![endif]-->An atom is the smallest unit of matter. Quantum mechanics is a chapter of physics that studies matter at this incredibly granular level, leading to the invention of personal computers, lasers, and medical imaging devices (MRI), among other game-changing technologies.Today's Doodle celebrates the 135th birthday of Max Born, German physicist and mathematician who was awarded the Nobel Prize for his contribution to the field of quantum mechanics.An outstanding student, Born earned his Ph.D. at G&ouml;ttingen University where he later became a professor of theoretical physics, collaborating with and mentoring some of the most famous scientists of the time.</span></p>

문제는 여기에 뭔가를 입력하여 (디자인 모드에서) 내용을 편집하려고 할 때, 그것은 HTML 태그 영향을 미치며, 텍스트가 사라 도착한다는 것입니다. Editor Demo 링크를 사용하여이 문제를 재현 할 수 있습니다. HTML을 붙여넣고 디자인 모드에서 내용을 편집하십시오.

이런 일이 발생하지 않도록 방지 할 수있는 방법이 있습니까? 감사합니다

+0

이 브라우저에서 어떤 브라우저를 테스트하고 있습니까? 문제를 재현하려고 시도하고 예상대로 작동합니다. 크롬을 사용하고 있습니다. –

+0

모든 브라우저에서 :(텍스트 사이에 공백을 추가하려고하면 전체 텍스트가 사라지고 이미지 만 유지됩니다. – DevSa

+0

아, 그래, 재현 할 수있었습니다. '

답변

0

이 문제에 대한 해결책을 찾을 수 없습니다. 필요에 따라 일을 처리하기 위해 이러한 mso 조건문을 제거해야했습니다.