Bug #3417
Colored correction (tags Abbr style) lost in document tool
Description
Cuando se edita un documento html y se le añaden correcciones, estas se deben identificar mediante el marcador rojo de fondo. Esto funciona correctamente en las demás herramientas de Chamilo, pero en la herramienta documentos no aparece este coloreado rojo, ni en la edición, ni cuando luego se visualiza el documento (aunque sí aparece el punteado inferior).
Files
Associated revisions
History
Updated by Julio Montoya over 8 years ago
- File description.png description.png added
- Status changed from New to Needs more info
- % Done changed from 0 to 10
Nunca había visto esta funcionalidad, que necesito para activarlo?
Mi prueba fue la siguiente:
En chamilo 1.9, entré a un curso, luego creé una "Descripción del curso". Al editar y agregar un texto, no aparece nada rojo.
Updated by Juan Carlos Raña Trabado over 8 years ago
La funcionalidad no está presente en todas las herramientas, pues está pensada sólo para los casos en los que un profesor quiere corregir algún texto que un estudiante haya escrito mediante el editor; así está en el Wiki, la herramienta documentos (shared folder), foros, etc.
Se selecciona una palabra o frase que se quiere corregir, se introduce el texto de la corrección y se guarda. El estudiante cuando lo vea verá marcado en rojo la palabra o frase, y al poner el ratón encima podrá ver las observaciones o correcciones que el profesor haya hecho sobre esta.
Updated by Yannick Warnier over 8 years ago
- Subject changed from the colored correction (tags Abbr style) is losing into document tool to Colored correction (tags Abbr style) lost in document tool
Updated by Yannick Warnier over 8 years ago
- Category set to Styles, Layout & Accessibility
- Status changed from Needs more info to Needs testing
- Assignee set to Juan Carlos Raña Trabado
- % Done changed from 10 to 90
- Complexity changed from Normal to Easy
The way to introduce a correction is to use a small icon on the right side of the editor's first line (it says "Correction" when you move above it).
The reason why it was lost in documents is because documents have their own CSS and it is reduced to just [course-documents-dir]/css/frames.css, which doesn't contain the abbr definition (which can otherwise be found in base_chamilo.css):
/* tips Abbr-plugin for FCKeditor */ abbr { border-bottom: 1px dotted rgb(102, 102, 102); background-color:#F00; cursor: help; }
Apparently, the frame.css file is "copied" from the current stylesheet when creating a new document, so if we want this document to show a red background when inserting an <abbr>, then we definitely need all the frames.css to have that definition.
I just sent a commit adding this section to all existing frames.css in main/css/, so this should be fixed in the next nightly.
Updated by Yannick Warnier over 8 years ago
- Status changed from Needs testing to Bug resolved
Assuming fixed. Feel free to re-open with a specific test-case if still ocurring.
Added abbr style for document corrections - refs #3417