Skip to content

Commit 0c60b07

Browse files
committed
move WPUnderlineSpan.java and MediaGalleryImageSpan.java to WPUtils
1 parent 11e6f7f commit 0c60b07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragmentAbstract.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,14 @@ public void setLocalDraft(boolean isLocalDraft) {
4949
}
5050

5151
/**
52-
* Callbacks to communicate with the parent Activity
52+
* Callbacks used to communicate with the parent Activity
5353
*/
5454
public interface EditorFragmentListener {
5555
public void onEditorFragmentInitialized();
5656
public void onSettingsClicked();
5757
public void onAddMediaButtonClicked();
58+
// TODO: remove saveMediaFile, it's currently needed for the legacy editor - we should have something like
59+
// "EditorFragmentAbstract.getFeaturedImage()" returning the remote id
60+
public void saveMediaFile(MediaFile mediaFile);
5861
}
5962
}

0 commit comments

Comments
 (0)