Loading...
 
Skip to main content

preview looks different from final output, like using "{CODE}..." creates boxes, but used fronts differ

Status
Open
Subject
preview looks different from final output, like using "{CODE}..." creates boxes, but used fronts differ
Version
15.x
Category
  • Usability
Feature
Edit interface (UI)
Resolution status
New
Submitted by
RadoS
Volunteered to solve
Lastmod by
RadoS
Rating
(0)
Description

Editing a page with "CODE()] ... {CODE}", hitting preview produces a different visual output than the resulting page when hitting save: the code is boxed, but a different font is used.

DOM inspector says for the preview:
pre {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

DOM for final page:
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}

Maybe related to https://dev.tiki.org/item6214Question

Importance
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6220
Created
Tuesday 27 December, 2016 16:38:48 UTC
by RadoS
LastModif
Tuesday 27 December, 2016 16:38:48 UTC


Show PHP error messages