< prev index next >

modules/web/src/main/java/javafx/scene/web/HTMLEditorSkin.java

Print this page

        

@@ -941,11 +941,11 @@
             String comboFormatValue = styleFormatMap.get(htmlTag);
             String format = formatComboBox.getValue();
 
             // if the format value is then we assume that we're dealing with a paragraph,
             // which seems to correspond with the HTML output we receive.
-            if ((resetToolbarState || htmlTag.equals("<>") || htmlTag.equalsIgnoreCase("<div>"))) {
+            if ((resetToolbarState || htmlTag.equals("<>") || htmlTag.equalsIgnoreCase("<div>") || htmlTag.equalsIgnoreCase("<blockquote>"))) {
                 formatComboBox.setValue(resources.getString("paragraph"));
             } else if (format != null && ! format.equalsIgnoreCase(comboFormatValue)) {
                 formatComboBox.setValue(comboFormatValue);
             }
         }
< prev index next >